Hacker News new | ask | show | jobs
by fjfaase 1914 days ago
I recently wrote a similar parser, maybe less fancy, for a workshop on parsing. It does display the the abstract syntax tree with d3.js and also has a build evaluator for a limited set of language constructs. https://fransfaase.github.io/ParserWorkshop/Online_inter_par... It is based on a parser I implemented in C++.