Skip to content

Ruben1729/abacus-lang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AbacusLang

This stack based language took a huge inspiration from porth and forth. I had initially made the compiler in python, but decided to refactor it and use rust so that I could get more familiar with the language.

It has some basic arithmetic operations and some conditional statements are implemented. You may find some examples in the examples folder.

Keep in mind this project is not meant to be professional, it has simple solutions to complex problems that usually require more elaborate architectures.

Getting Started

Clone the RustyWire repository:

git clone https://github.com/Ruben1729/abacus-lang

Navigate to the project directory:

cd abacus-lang

Run the project using Cargo:

cargo run file_name.aba

Build and link the file:

./build.sh file_name.aba

Future Plans

I'd like to implement other features such as functions, for loops, and eventually bootstrap the compiler.

References

About

Stack based language inspired from porth which is inspired from forth.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors