-
Notifications
You must be signed in to change notification settings - Fork 204
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
add code config option to enable alternative rule DSL #451
Conversation
I like the concept. But not the reliance on strings. Instead I would go with a more generic approach:
|
From code review perspective:
|
Cool, sounds great :) Yeah well, using strings was the easiest approach since I don’t know the internals of the GAST model. I would much welcome a mixed approach, Would love to see a minimal example of this next week! Cheers! Kristian PS: Just managed to make the DSL example work with my String based approach for now |
There is no need for a mixed approach.
You would if you code it 😄
So it would take a while before I get around to this... |
Excited to see what you come up with next. I have this rule DSL for now. Will look into CST/GAST next. |
new CST related capabilities (CST Visitor) will be available in a day or two. I'll look into these extensibility options in a week or two... |
I will attempt to implement an official GAST --> Chevrotain DSL transformer. Relevant issue: #480 This could even enable using Chevrotain as a parser generator 😄 This is a huge issue. But the first thing on the agenda is the |
AweZome! |
This little tweak will allow for alternative DSLs where the resulting rule code and the string generated can differ.
Already tested and works with my DSL experiment in red-dragon :)