Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeRoggenbuck authored Dec 12, 2024
1 parent 46a5449 commit 8dee3a8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,14 @@ A programming language that compiles to x86-64 assembly for math using postfix n

## About

Create a program in the interpreter or run a code file.

![image](https://github.com/user-attachments/assets/ea784519-74b4-4f44-9a7d-e15a2e91b44a)

Component converts your code to **RISC-V** or **x86-64** assembly to be run.

![image](https://github.com/user-attachments/assets/4bd224e4-45bf-48f4-8a83-fe0db297ceeb)

Component is the follow-up language to [Basis](https://github.com/JakeRoggenbuck/basis) which is also a math language. Component was built with insights learned from writing Basis. The main difference between the two is that Basis has a more complicated syntax which included types and data structures whereas Component uses postfix notation with the addition of functions as operations.

The code for Component and Basis use the same lexer. Component is mainly different because it has a different syntax. The lexer for basis was written generally enough that this code can be shared. It also helps that Basis is a math language inspired by postfix notation but not exclusively postfix notation.
Expand Down

0 comments on commit 8dee3a8

Please sign in to comment.