[CPLua] Brainfuck
1 post
• Page 1 of 1
[CPLua] Brainfuck
Hi. I'm actually working on a brainfuck-interpreter writen in CPLua for the UCF Contest.
At the moment, there is 11 command :
+ : increment the pointer's value
- : decrement the pointer's value
> : increment the pointer
< : decrement the pointer
. : print the ASCII caracter of the pointer value
[code] : do the code while the pointer value isn't nul
(code) : save the code as a function (attached to the pointer value)
: : call the function attached to the pointer value
# : print all the table data
Do you have some suggestion ? I wonder if adding graphic function could be interresting
At the moment, there is 11 command :
+ : increment the pointer's value
- : decrement the pointer's value
> : increment the pointer
< : decrement the pointer
. : print the ASCII caracter of the pointer value
[code] : do the code while the pointer value isn't nul
(code) : save the code as a function (attached to the pointer value)
: : call the function attached to the pointer value
# : print all the table data
Do you have some suggestion ? I wonder if adding graphic function could be interresting
1 post
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 3 guests