https://github.com/wolfadex/ulv-lang
A fun toy language inspired by Forsp
https://github.com/wolfadex/ulv-lang
Last synced: about 1 month ago
JSON representation
A fun toy language inspired by Forsp
- Host: GitHub
- URL: https://github.com/wolfadex/ulv-lang
- Owner: wolfadex
- Created: 2025-08-08T21:06:59.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2025-08-15T02:54:08.000Z (11 months ago)
- Last Synced: 2026-03-03T08:06:25.824Z (5 months ago)
- Language: Elm
- Size: 83 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ulv Lang 🐺
Some examples
```ulv
# a comment
55 # an integer
3.14159 # a float
"some words" # a string
2 3 + # math, that equals 5
23 :age # a variable
(1 2 3) # a quote of 3 values
^age # push the value of `age` to the stack, in this case `23`
@Ok # A tag. Essentially a word that doesn't do anything but can be used for denoting info
# e.g.
1 2 compare # puts @LT on the stack
# how about some built-ins!
force # pop a quote and execute it
stack # duplicates the stack, onto the stack
print # pops and prints the top value
+ - * / # your basic math operators
(1 2 3) (1 +) map # (2 3 4)
(1 2 3) 0 (+) fold # (6)
(1 2 3) reverse # (3 2 1)
```