Skip to content

TruncatedDinosour/fa

main
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
doc
 
 
 
 
 
 
 
 
src
 
 
std
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Fa programming language

A rys-like stack based, reverse polish notation low-level programming language that transpiles down to assembly

Note

Do not contribute to the python script, it will be deleted eventually, for any ideas make an issue and also in no way is this currently a production-friendly language

Goal

Fa programming language is supposed to be similar to rys but fixing a lot of issues it has, the initial name for fa was rys++ but I ended up on fa, this language is going to be self-hosted some time

Try it online

Please don't be an ass on them, don't do stuff that might break these compilers :)

Operating systems fa works on

  • GNU/Linux
  • FreeBSD

System requirements

  • Fasm compiler
  • Python3 (for now)
  • Bash-completion (optional, for completions)

Development requirements

  • Curl

Testing requirements

  • coreutils
    • Tested: FreeBSD, GNU
  • BC

Installation for developing

$ ./scripts/devsetup.sh

Testing the compiler

  • Install the compiler
  • Run
$ ./scripts/test.sh

Docker

Dockerfile was made by @Elijahr2411 (https://github.com/Elijahr2411) for basic docker compilation, usage:

docker run --platform amd64 -v {$filename}:/fa/a.fa fa-docker

Where {$filename} is your fa file.

About

A rys-like stack based, reverse polish notation low-level programming language that transpiles down to assembly

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published