https://github.com/fergusq/fortob
A stack based, recursive-infix really postfix syntax, imperative and very funny programming language
https://github.com/fergusq/fortob
esoteric-language esoteric-programming-language funny-programming-language stack-based
Last synced: 6 months ago
JSON representation
A stack based, recursive-infix really postfix syntax, imperative and very funny programming language
- Host: GitHub
- URL: https://github.com/fergusq/fortob
- Owner: fergusq
- License: mit
- Created: 2014-08-30T08:30:05.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-09-23T15:55:12.000Z (over 11 years ago)
- Last Synced: 2025-01-18T08:32:34.770Z (11 months ago)
- Topics: esoteric-language, esoteric-programming-language, funny-programming-language, stack-based
- Language: Java
- Size: 246 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Fortob
======
A stack based, recursive-infix really postfix syntax, imperative and very funny programming language
## Example code
```
$printName=[
$tl=\;
$firstName = $tl.nextString\;
$lastName = $tl.nextString\;
$originalName = $tl.seekString="os"\.if: [
$tl.accept:"os"\;
$tl.accept:"."\;
$tl.nextString
], [$lastName]\\;
($firstName+_+$lastName+_+"os"+_+$originalName).println;
'
]\;
$? $printName.apply:\ Pekka Meikäläinen;
$? $printName.apply:\ Maija Meikäläinen os. Suomalainen;
```