.TH TRIPL 1 "26 Dec 21" .SH NAME tripl \- the interpreter of the tripl programming language. .SH SYNOPSIS \fBtripl\fP [ FILE ] .SH DESCRIPTION \fBtripl\fP is a programming language that uses different characters to do different things. You can use tripl to calculate the sum of two numbers, print out messages and other things interesting. .SH LICENSE \fBtripl\fP is distrubuted under the GNU General Public License. See the \fBLICENSE\fP file in the source directory of tripl. Of course, you need to download that from https://gitee.com/pengruiyang-cpu/tripl.git before that. .SH SYNTAX \fB$\fP: uses to push a number into stack. eg. \fB$ name 1048576\fP \fB$ name 1048576 @ rdonly global\fP \fB`\fP: pop a number and free the memory of it. \fBWILL BE ABANDONED\fP eg. \fB`;\fP \fB#\fP: line comment \fB!\fP: stack dump. This dumps the stack, you can see numbers in the stack, but this won't change anything. \fBIT DOES NOT WORK IN COMPILE MODE\fP \fB<\fP: import shared library. eg. \fB< "foobar.so"\fP \fB@\fP: calling function. \fBWARNING: MAX 6 ARGUMENTS SUPPORT\fP eg. \fB@ printf "hello, world %d %s" 0 "hello" \fB@ printf ("hello, world"); \fB@ printf("a: %d\n", a);