Latest Tech News

Stay updated with the latest in technology, AI, cybersecurity, and more

Filtered by: opush Clear Filter

A Fast Bytecode VM for Arithmetic: The Compiler

In this post, we write the compiler for our AST to bytecode, and a decompiler for the bytecode. In this series of posts, we write a fast bytecode compiler and a virtual machine for arithmetic in Haskell. We explore the following topics: In this series of posts, we write a fast bytecode compiler and a virtual machine for arithmetic in Haskell. We explore the following topics: Parsing arithmetic expressions to Abstract Syntax Trees (ASTs). Unit testing for our parser. Interpreting ASTs. Comp