Skip to content

dominikdanner/morth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Morth

WARNING! THIS LANGUAGE IS A WORKING PROGRESS. THIS IS JUST A HOBBY PROJECT

Inspired by Tsoding

Roudmap for Morth (Milestones)

  • Compiled
  • Interpreted (Simulated)
  • Stack based
  • Easy to use (for a stack based language)
  • Turing-complete
  • Dynamically typed
  • Optimized

Syntax Example

30 30 + 60 = if
    100 print
end

// Output: 100

Workflow of the compiler

  • Analysing Source File
  • -> Converting Words in Operation Codes
  • -> Generating Assembly Code
  • -> Compiling Assembly with NASM
  • -> Linking Objectfile with the GNU Linker
  • -> Selfcontaining Executable

About

Super simple stack base programming language

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published