Skip to content

NovaHexyl/twig-lang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

twig

:trollface: Not stable yet

programming language written in rebol

  • can interop with C++ [WIP]
  • can do osdev [WIP]

examples

My = namespace {

    Class = class {
        MyField = "twig is cool"

        static print = fn(txt) {
            native printf(MyField) ; native runs a expression with **NO** error checking!
            native printf(txt)
        }
    }

}

main = fn(argc, argv) {
    My/Class.print("Heyyyy gamers")
}

; Output:
;   twig is cool
;   Heyyyy gamers

usage

since rebol isnt compiled, you just run it like this rebol3 twig.r file.twig

About

simple programming language with wip C++ interop. proudly written in REBOL

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published