Open bor0 opened 2 years ago
Thank you for your contribution.
Can I ask how you found out about the the summer lang party event?
best wishes Stephen
Can I ask how you found out about the the summer lang party event?
Twitter :) The post was shared by @racketlang
Budge
https://esolangs.org/wiki/Budge-PL https://github.com/bor0/budge
Racket entry: https://github.com/bor0/budge/blob/main/pl/src/budge-pl.rkt
Budge-PL (bʌdʒ, b’dzh) is an esoteric programming language. It uses Gödel numbering to represent registers and their values by relying on the Fundamental Theorem of Arithmetic (prime factorization). The language uses similar constructs as FRACTRAN, however, it provides a more convenient way to construct loops and uses integers rather than fractions to denote instructions. It also abstracts prime numbers in the code, allowing for direct register access. A negative integer will decrease a register’s value, while a positive integer will increase a register’s value.
Addition:
[[2, -2, 1]]
Subtraction:[ [1, -1, 3, 5], [2, -2, 4, 6], [3, -3, -4], [6, -5, -6], [4, -4, 1, 3], [3, [3, -3], 2], [5, -5, 1]]
More examples: https://github.com/bor0/budge/blob/main/pl/src/budge-pl.ipynbLicence
I confirm that the text in this issue is licensed under the Creative Commons Attribution 4.0 International License http://creativecommons.org/licenses/by/4.0/