Skip to content

Releases: alvarorichard/CortexC

Release Notes for Simple C Interpreter

03 Mar 02:33
Compare
Choose a tag to compare

Overview

This release introduces a simple interpreter for a subset of the C language, written in C itself. The interpreter includes a tokenizer, a parser, and an evaluator for assembly instructions, allowing it to interpret and run simple C programs. However, it is important to note that not all features of the C language are supported.

Features

  • Tokenization: The interpreter can tokenize the input code, classifying characters into different types of tokens.
  • Expression Parsing: Basic parsing of expressions is implemented, though it is not fully complete.
  • Program Parsing: The interpreter can parse an entire program, processing tokens accordingly.
  • Evaluation: An interpreter for assembly instructions is included, enabling the execution of parsed code.
  • Easy Compilation: The source code can be easily compiled using the clang compiler.
    Contributions are welcome! If you find a bug or want to add a new feature, feel free to create a pull request.