the start of a ruby lexer? #634
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
COPY-PASTA AND AI WARNING: i used python.jai as base then ai gen'd a few differences
i don't have jai. i'm not a great programmer. but i love this editor dearly. <3
the lang files mostly looked like boiler-plate stuff, so i let ai whip up a few changes in a few hours.
one thing it was generating [that] i'm not too sure about was
token.count. not sure if that's really needed..there's surely a bajillion features i missed out on.. but i really just wanted something simple for dragonruby (actually a fork of mruby..). no need for crazy complex syntax stuffs.. dragonruby is a strange concoction of rather procedural data-oriented style programming, but via ruby..
if anyone else out there has jai and a heart for ruby, see if this even compiles! lol..