-
Notifications
You must be signed in to change notification settings - Fork 745
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
New lexer: Lutin #1307
New lexer: Lutin #1307
Conversation
… (#discussion_r310299887)
@jahierwan This still has the Lustre lexer files. |
…'false' from the list of keywords
oh, yes, I've forked my master copy which is under review, sorry. |
You won't need to merge it back into your master. Once it's accepted, it'll be squashed and merged into the official master. You'll just merge the official master into your master to bring yourself up to date. |
ok, thanks. |
@jahierwan I'm sorry—my git foo wasn't strong enough to work out how to unpick this branch so I basically nuked it and started over. There's now just the current commit with the files as they were after your most recent commit. I'll have a look and get back to you with any comments ASAP. |
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 Lutin lexer seems (at least superficially) almost identical to the Lustre lexer. You can use a lexer as the parent of another lexer and then simplify modify the parts that have changed (see the C++ lexer for an example).
Are these languages related enough that changes to one will require changes to the other? Is one a superset of the other for example?
Clearly the syntax of Lutin tried to mimick as much as possible to the one of Lustre. Nevertheless, they are independent languages and modifying one does not imply some modification to the other. But I agree it would make sense to factorize the code. |
@jahierwan Thanks for working through this one. I thought it would be good to have the Lustre and Lutin lexers ready for the same release (I'm about to push that out now). Hope you find it useful! |
Cool. Thanks for all the feedback.
Cheers.
R1
|
@pyrmont