Skip to content
/ fortob Public

A stack based, recursive-infix really postfix syntax, imperative and very funny programming language

License

Notifications You must be signed in to change notification settings

fergusq/fortob

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fortob

A stack based, recursive-infix really postfix syntax, imperative and very funny programming language

Example code

$printName=[
        $tl=\;
        $firstName = $tl.nextString\;
        $lastName = $tl.nextString\;
        $originalName = $tl.seekString="os"\.if: [
                $tl.accept:"os"\;
                $tl.accept:"."\;
                $tl.nextString
        ], [$lastName]\\;
        ($firstName+_+$lastName+_+"os"+_+$originalName).println;
        '
]\;

$? $printName.apply:\ Pekka Meikäläinen;
$? $printName.apply:\ Maija Meikäläinen os. Suomalainen;

About

A stack based, recursive-infix really postfix syntax, imperative and very funny programming language

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages