Skip to content

florianfmmartin/txa-archive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Texo lang

VM

The VM as two primitive types 64-bit integers and strings

It is a stack based machine

It reads tokens that can define procedures acting on the stack

Procedures have their own scope to reuse values seen on the stack via named variables or a scoped stack

Texo assembly .txa

More details here

Vscode syntax extension here

Quick example

define $count-down #[ (n --) will print stuff ]#
    local @n
:loop
    @n print
    @n 1 sub
    local @n
    @n 0 lst jump :end
    1 jump :loop
:end
endef

About

A VM and assembly language for it

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages