/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

tenthousandmeters.com
| | healeycodes.com

Making my programming language 4000x quicker, and adding a static type checker.
3.9 parsecs

Travel
| |
| | craftinginterpreters.com

[AI summary] The text discusses the implementation of a compiler for a simple programming language, focusing on parsing and bytecode generation. It covers topics such as recursive descent parsing, Pratt parsing, and the use of a parser table to handle operator precedence. The text also includes code snippets for the parser and compiler functions, as well as instructions for debugging and testing the compiler. The author emphasizes the importance of error handling and the use of a debug flag to enable the printing of generated bytecode.
3.6 parsecs

Travel
| |
| | www.jmeiners.com

[AI summary] The provided text outlines the development of an LC-3 virtual machine (VM) in C, including the implementation of various instructions, memory operations, and input/output handling. It also discusses an advanced C++ approach using templates and bitwise flags to reduce code duplication and improve efficiency. The text covers topics like instruction decoding, memory addressing, flag handling, and platform-specific input buffering. Additionally, it references contributions from the community and mentions GitHub tags for organizing implementations in different languages.
4.5 parsecs

Travel
| |
| | tyrrrz.me

Two months ago I wrote an article about Monadic Parser Combinators in C# and how you can use this approach to express complex recursive grammar. To extend this topic a bit, I also wanted to show how the same approach can be applied in a functional-first...
20.8 parsecs

Travel
|