CoreDump: A Tutorial

  1. Design the language as a subset of ANSI C, and remove features from ANSI C grammar which is BNF.
  2. Use a parser generator to generate the abstract syntax tree, parse tree and convert to JSON.
  3. Use RxJava to convert JSON to a data stream.
  4. Write a map to iterate over the stream, add an observer and convert tokens to MIPS machine code.
  5. We do not describe optimization, loop unrolling etc.

JavaCC | The most popular parser generator for use with Java …

scottfrazer/hermes: Python LL(1) Parser Generator … — GitHub

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store