LPL
Jump to navigation
Jump to search
LPL is a Lightwieght Programming Language
There is only 4 commands:
/ > < “text”
How could we program with only 4 commands?
“/“ reads out memory commands “>” goes to the right memory command “<“ goes to the left memory command “text” use variable text
| Paradigm(s) | imperative |
|---|---|
| Designed by | Bardosi Benett Barna |
| Appeared in | 2023 |
| Memory system | tape-based |
| Dimensions | one-dimensional |
| Computational class | Turing complete |
| Reference implementation | Unimplemented |
| Influenced by | Brainfuck |
What are memory commands?
1. if 13.
2. =
3. ≠
4. <
5. >
6. loop infinite times
7. loop ? times
8. increment to variable ?
9. deincrement to variable ?
10. print(text/var)
11. add ? 14.
12. end loop/if
13. then
14. to ? (could be text)
15. loop back to 1.
Code:
if 0≠1 then
add 1 to True
end
print(True)
/ 0 >>>/ 1 <<<<</
<<<<</ True
>>>>/
<</ True