Titik Programming Language/Interpreter Written In Go Lang
This is for experimental and educational purpose only. ;)
go build -tags win .
go build -tags=win -tags=sdl .
go build .
go build -tags sdl .
Click here
^ Multiline comment (Hello World Code) Source code at: https://github.com/six519/titik2 ^ floatVariable = 25.55 strVariable = "Mabuhay " + 'Ka' #concatenation #function definition fd hello_world(var) intVariable = 0 #if statement if(var == 'Mabuhay Ka') #loop statement fl (0, 8) intVariable = intVariable + 1 sc(intVariable) #change text color p(var + '\n') #It will print "Mabuhay Ka" 8 times zzz(2000) #sleep for 2 seconds lf sc(0) #reset the text color el #else p('Not Mabuhay Ka') fi df hello_world(strVariable) #call function
Click me