Skip to content

the start of a ruby lexer?#634

Open
rahil627 wants to merge 5 commits into
focus-editor:mainfrom
rahil627:main
Open

the start of a ruby lexer?#634
rahil627 wants to merge 5 commits into
focus-editor:mainfrom
rahil627:main

Conversation

@rahil627

Copy link
Copy Markdown

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..

@rahil627

Copy link
Copy Markdown
Author

hmmmm, sorry about that. i accidentally merged, then did some git surgery to get rid of it.. ;(

hope all is well!

@rahil627

Copy link
Copy Markdown
Author

also, i will accept that this may never be merged, as ruby is anti-thetical to the values of this project, lmao. so many traps in this language.. it's insane!!

@focus-editor

focus-editor commented Jun 22, 2026 via email

Copy link
Copy Markdown
Owner

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.

2 participants