Skip to content

Conversation

@Yewzir
Copy link
Contributor

@Yewzir Yewzir commented Jul 30, 2025

No description provided.

@github-actions github-actions bot added the conflicts Pull Request has conflicts. label Sep 4, 2025
@github-actions github-actions bot removed the conflicts Pull Request has conflicts. label Sep 6, 2025
@github-actions github-actions bot added the conflicts Pull Request has conflicts. label Sep 22, 2025
@github-actions github-actions bot added conflicts Pull Request has conflicts. and removed conflicts Pull Request has conflicts. labels Oct 2, 2025
@github-actions github-actions bot removed the conflicts Pull Request has conflicts. label Oct 2, 2025
@Yewzir
Copy link
Contributor Author

Yewzir commented Oct 13, 2025

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.

@Yewzir Yewzir marked this pull request as draft October 13, 2025 11:31
@Yewzir Yewzir changed the title Disable Factor's default warning and have it test for empty output Build Factor from source, disabling the recurring default message/suggestion/warning/... Oct 13, 2025
@Yewzir Yewzir marked this pull request as ready for review October 13, 2025 20:00
@Yewzir Yewzir changed the title Build Factor from source, disabling the recurring default message/suggestion/warning/... Build Factor from source, disabling the print-use-hook handler in the vocabs.parser vocabulary Oct 13, 2025
Comment on lines 12 to 14
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
Copy link
Contributor Author

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-global

Nothing more or less is imported, only the recurring message is deleted.

Copy link
Collaborator

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.

@Yewzir Yewzir changed the title Build Factor from source, disabling the print-use-hook handler in the vocabs.parser vocabulary Build Factor from source and prevent the restart message from always being printed Nov 12, 2025
@github-actions github-actions bot added the conflicts Pull Request has conflicts. label Dec 9, 2025
@github-actions github-actions bot removed conflicts Pull Request has conflicts. labels Dec 13, 2025
@github-actions github-actions bot added the conflicts Pull Request has conflicts. label Jan 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

conflicts Pull Request has conflicts.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants