-
-
Notifications
You must be signed in to change notification settings - Fork 125
Build Factor from source and prevent the restart message from always being printed #2352
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
I'm working on something to ensure Factor can continue reading from STDIN, not declare anything, not import too early, or whatever, but still keep its mouth shut. Unfortunately, it's still a bit of a mess. |
print-use-hook handler in the vocabs.parser vocabulary
langs/factor/Dockerfile
Outdated
| RUN sed -i 's/64//' basis/io/directories/unix/linux/linux.factor \ | ||
| && sed -i 's/lxstat64/lxstat/' basis/unix/stat/linux/64/64.factor \ | ||
| && sed -i '/^\[/,/al/d' basis/vocabs/prettyprint/prettyprint.factor |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The first two are temporary fixes for a successful build, the last one removes the following:
[
[
nl
{ { font-style bold } { font-name "sans-serif" } } [
"Restarts were invoked adding vocabularies to the search path." print
"To avoid doing this in the future, add the following forms" print
"at the top of the source file:" print nl
] with-style
manifest-style [ manifest get pprint-manifest ] with-nesting
nl nl flush
] with-output>error
] print-use-hook set-globalNothing more or less is imported, only the recurring message is deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this would be better as a patch file, it's more obvious what's going on and less likely to break in subtle ways going forward. In general I think we want to reverse course of swapping patch files for sed as the former are so much clearer and less fragile.
print-use-hook handler in the vocabs.parser vocabulary
No description provided.