I have been a lot into formalism lately, and I am trying to sort out my thoughts. Let's just say I am not the sharpest crayon in lil jimmy's lunchbox (which his over-worked mom filled with crayons!).
Pascal-Syntax.ml
is an OCaml interface file (which is akin to C's .h
files) that defines the syntax of ISO Pascal. You can download the standard from here:
https://www.cs.utexas.edu/users/novak/iso7185.pdf
ISO Pascal differs from widely-used dialects of Pascal (all of which FPC supports!) in a way that it does not support objects, but that is not the only thing it does not support!
Pascal's author, Niklaus Wirth died just a few years ago. It's really sad to see Pascal forgotten. I aim to create a Pascal compiler, or interpreter, or even a translator to another algorithmic language (people often call these 'transpilers' but this is obviously folk colliqualism...).
I think what I can offer would be verification. Or maybe partial evalution, meta-tracing. I shall decide.
This will of course be used to create an AST, or in the parser/lexer.
I am a beginner in all this ('this' meaning life, but also everything else). Please let me know. I am not very apt at ML-like syntax.
chubakbidpaa [at] riseup [dot] net
I am .chubak
( [dot] chubak ) on Discord.
Thanks.