Skip to content

C-Elegans/forthc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Forthc - a retargetable forth compiler

This project was mainly intended as a port of FORTH to the D16, however it should be easily retargetable to another processor by changing src/D16Asm.hs to the target processor.

Building

First install Haskell's stack, then run

stack build
stack exec forthc-exe -- file.fs file.asm

This will build the compile and compile file.fs to file.asm, which can then be assembled and linked by the d16 assembler and linker.

About

A retargetable forth compiler

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published