Follow

soooooooooooooooooo that's a lexer...... a lexer that even understands my kinda-unique FFI syntax, at that.

I am pretty proud of how much progress this evening brought. soon, it's on to parsing and codegen.

github.com/klardotsh/gluumy/co

yes lol that's only 2.4MB of RAM total to lex that file, though admittedly the objects it generates get printed to stdout and then immediately fall out of scope, so it'll probably go up pretty soon, buuuuuut also that's a nice tiny number to start from, especially considering LuaJIT itself is taking up some of that.

Sign in to participate in the conversation
Merveilles

Revel in the marvels of the universe. We are a collective of forward-thinking individuals who strive to better ourselves and our surroundings through constant creation. We express ourselves through music, art, games, and writing. We also put great value in play. A warm welcome to any like-minded people who feel these ideals resonate with them.