In the Gist, I have explained my problem, and I have provided my tokenizer as well. If you can help me with the parser, that would be great. Also if my tokenizer is not very well-structured, please tell me....
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...
Please tell me what you honestly think of it — this is not a ‘labor of love’ exactly, I only spent a few hours on it. But I think its a strong foundation for what comes next. The implementation, I hope, will be an orgy of love!...
Automatic garbage collection in C is possible with libraries like libgc, but with allocppx.pl, you can just preprocess your file into generating heaps, and these heaps can be used for memory allocation. The type of GC is used, mark and sweep + reference counting. Every memory allocation MAY have a trace, and this trace can be...
I wrote a simple script in order to help someone in a recent reply from me, to make running Flatpak applications from terminal easier. After that I worked a little bit on it further and now ended up with 2 completely different approaches....
I am implementing my own POSIX Shell so I wrote this not to get lost. I posted a much more inferior iteration of this weeks ago —that one was truly subpar. This one is much better....
This is a script I made to assist in reproducibly building the Monero binaries on Split Linux, the distribution that splits your various identities into separate TTY’s....
A good amount of people liked my C99 EBNF grammar. I was defining grammars for most of today because you can’t really blindly make a language, and you need a grammar to be there, even if the language exists and has dozens of implementations. As it happens, I have a couple of AWK-related projects, AWK2c and Squawk (people from...
Consider this: it’s much easier to parse S-Expressions than JSON! Plus, in statically typed languages, this script could excel, because it declares the type first. Remember that you can always use my S-Expression parser in C to parse them:...
This since I don’t have a blog and I don’t know how to make a blog I will post my way of defining a grammar using EBNF and Regular Definitions in Gist form....