| Post Reply | RetroFed Forum Forum Index » uxn computing |
| Author | Message | ||
|---|---|---|---|
|
tocano
piefed.social
tocano@piefed.social Joined: 2025-06-18 |
uxntal is the programming language for the uxn virtual machine. uxntal is a concatenative language, which works like a pipeline of functions which take the result from the previous function, apply a transformation, and return the value to the next operation. "[T]here are no precedence rules, the calculations are merely performed in the sequence in which they are presented". In concatenative languages the block A stack is a data structure where values are "pushed" / added on top of the stack and "popped" / removed from the stack. Operations will always be applyed on the top element(s). In uxntal you work with bytes (8 bits) and shorts (16 bits), usually in hex notation, and you have some basic stack operators.
|
||
| 8 Original | |||
|
ImgurRefugee114
reddthat.com
ImgurRefugee114@reddthat.com Joined: 2025-08-26 |
We're just making shit up now |
||
| 2 | |||
z500
startrek.website
z500@startrek.websiteJoined: 2023-06-13 |
We're just making shit up now
This is basically Forth |
||
| 3 | |||
|
tocano
Moderator
tocano@piefed.social Joined: 2025-06-18 |
This is basically Forth
Yes, uxntal is very similar and openly based on Forth. Although there are some differences. |
||
| 2 | |||
| Post Reply |
Back to top |