Writing a new programming language. Part II: Variables and expressions

This page summarizes the projects mentioned and recommended in the original post on dev.to

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • lalrpop

    LR(1) parser generator for Rust

    The key point here is that we are going to depend on the lalrpop library to generate the parser based on the formal grammar we define. Note that we have it as part of the [build-dependencies] section and we only depend on a tiny utility crate called lalrpop-util at runtime. The reason for that is the main lalrpop "magic" would happen during the crate compilation (in the build.rs file) when lalrpop would generate the deterministic pushdown automaton based on our grammar. The code generation logic is not required to be part of our interpreter, we only need a few utility methods from the lalrpop-util for the automaton to operate. You might have noticed that we also enable the lexer feature of lalrpop, because we are going to use lexer provided by lalrpop as well (please refer to the Part I if you do not know what the lexer is).

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • lr-lang

    Small LR(1) Programming language written for learning purposes

    You can find the state of the source code in the part_2 branch of the kgrech/lr-lang github repo.

  • book

    The Rust Programming Language

    We are going to implement our language using rust, so I'll be following the standard rust project setup. If you are new to rust, please refer to the rust book which is a great resource to learn it.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Writing a new programming language. Part I: a bit of boring theory

    3 projects | dev.to | 6 Aug 2022
  • To-Do from CLI with Rust

    3 projects | dev.to | 12 Sep 2024
  • Building a Single-Threaded Web Server | Rust Programming

    1 project | dev.to | 8 Aug 2024
  • Rust for Rustaceans

    3 projects | news.ycombinator.com | 28 Jul 2024
  • Up(sun) and running with Rust: The game-changer in systems programming

    2 projects | dev.to | 16 Jul 2024