Skip to content

Conversation

@c42f
Copy link
Member

@c42f c42f commented Oct 9, 2025

Here I've made two changes to make JuliaSyntax easier to integrate into Base without requiring the existing hook mechanism.

The incremental option has been added to parse!() moving flisp-compatible whitespace handling (eg, parsing a statement consumes up to the next newline) out of the hook and into the main parse!() API function.

The logic for constructing Expr(:incomplete) and appropriate Expr(:error) for flisp compatibility is now callable separately from the hook.

Here I've made two changes to make JuliaSyntax easier to integrate into
Base without requiring the existing hook mechanism.

The `incremental` option has been added to `parse!()` moving
flisp-compatible whitespace handling (eg, parsing a statement consumes
up to the next newline) out of the hook and into the main `parse!()` API
function.

The logic for constructing `Expr(:incomplete)` and appropriate
`Expr(:error)` for flisp compatibility is now callable separately from
the hook.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant