|
|
|
|
|
by petee
571 days ago
|
|
I'm pretty new to it, but from what I've seen the answer is yes. And while I haven't wrote any macros yet I think PEGs are fantastic, and sooo readable. Their website has an example PEG to read Janet source - https://janet-lang.org/docs/syntax.html#Grammar Embedding is really easy, as is writing c modules. You can link shared, or use an amalgamated c file. Check out https://janet-lang.org/capi/embedding.html Honestly I'm having just as much fun learning Janet as I am writing C modules and embeddings; Janet all the things! |
|