Does anyone know how to write an interpreter in OCaml? So let's say I have a paper on an abstract machine/langauge called LangABC; How do i approach writing an interpreter that can understand and test the syntax and semantics of LangABC? And also do test cases for all the equivalence relations? For the life of me I have been stuck. Or if there are good resources somewhere that anyone could point me to.
I did have an AST file (very incomplete) and a broken lexer and parser file