Skip to content

feat: add --include-paths support in nearleyc#616

Open
hikerpig wants to merge 1 commit into
kach:masterfrom
hikerpig:feature/include-paths-pr
Open

feat: add --include-paths support in nearleyc#616
hikerpig wants to merge 1 commit into
kach:masterfrom
hikerpig:feature/include-paths-pr

Conversation

@hikerpig

Copy link
Copy Markdown

related #604

example:

@preprocessor typescript
@lexer lexer

@builtin "postprocessors.ne"

# from shared-grammars
@include "whitespace.ne"
@include "config.ne"
@include "comment.ne"
shared-grammars
├── comment.ne
├── config.d.ts
├── config.ne
└── whitespace.ne
src
└── gantt
nearleyc src/gantt/parser/gantt.ne --include-paths ./shared-grammars  -o src/gantt/parser/gantt.ts

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