A tokenizer for EBNF written in R7RS Scheme | A full dive into EBNF, how it works, and its relationship to Chomsky Hierarchy (gist.github.com)
from ChubakPDP11@programming.dev to programming@programming.dev on 04 May 2024 13:51
https://programming.dev/post/13636722

About a few days ago I posted this, asking for help to implement the parser. It seems like I boomer’d and I forgot to set the Gist to public. This is public (hopefully!). Someone did gave me a link, but I kinda could not ‘parse’ it (get it? get it?). I still would appreciate it if you would give me guidance in parsing with Scheme, and not just tokenizing. I am using my experience from this to write a documentation language + macro preprocessor in Scheme called ‘Makroon’. I will use your help in giving me tips for parsing to parse that, and also, more complex projects like my C compiler in Ocaml (Cephyr). Like I re-began this project soooo many times!

Enjoy.

#programming

threaded - newest