News for hackers. Stuff that matters.
Re:TinyCompiler: A compiler in a week-end by PhilipRoman on Friday February 21, 2025 @02:11AM (#43124897)
Good to know I wasn't alone in writing terrible expression parsers. Since I knew absolutely nothing about parsing, my parser/interpreter consisted of splitting on whitespace, followed by linear scanning to find the most high precedence operation, repeated until a single token remains (basically how a human would do it).

There are no comments on this comment yet.