https://github.com/franeklubi/scaffolding
scaffolding is a very pointless esolang. Don't try it.
https://github.com/franeklubi/scaffolding
best-language c cli cowboy-time dumb esolang interpreter pointless
Last synced: about 1 month ago
JSON representation
scaffolding is a very pointless esolang. Don't try it.
- Host: GitHub
- URL: https://github.com/franeklubi/scaffolding
- Owner: franeklubi
- License: mit
- Created: 2019-08-06T17:29:39.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-06-05T11:55:05.000Z (almost 5 years ago)
- Last Synced: 2025-03-25T20:11:36.530Z (about 2 months ago)
- Topics: best-language, c, cli, cowboy-time, dumb, esolang, interpreter, pointless
- Language: C
- Homepage:
- Size: 1.03 MB
- Stars: 16
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# scaffolding
scaffolding is a dumb esolang. That's basically it. This repo contains my implementation of it's interpreter.
The whole idea of it is **destructive execution** - writing the result of the source code to the same file it's read from.
So, effectively, You could just overwrite the source during execution.
Sounds fun, right? Let me assure You - it's not!
# Example
### One-line program example:
```scaf
5\,=w.r8?3>7< w0x w1\,=.19+7< w,=w.r8?3>7< w8x5y w1\,=.19+7<
```
Output:
### Multi-line program example:
```scaf
9>.4\r3\
.
.
w/r.5<
```
Output:
These visuals were made with [franeklubi/scaf-visualizer](https://github.com/franeklubi/scaf-visualizer).
Yo and check out the [tutorial](./doc/tutorial.md).
# Building
To build the scaffolding interpreter/cli tool using make:
```sh
$ make prod // to build normally
$ make // to build with the debug messages turned on
```# Usage:
``` sh
$ scaf [options] file...
```### options:
- `-f` 'force' - Don't check if file is a scaf source (The true chad flag).
- `-n` 'non-destructive' - Output to filename.out (Don't overwrite file) (coward).
- `-o ` 'output' - Output to `` (Takes precedence over -n).
- `-h` 'help' - Display the help message.# Reference:
- Visit the [list of all the opcodes](./doc/opcodes.md).
- Haven't I mentioned the [tutorial](./doc/tutorial.md) yet?# FAQ
(does it count if I am the one asking these?)**Q:** How do I even write in this?
**A:** Check out the [tutorial](./doc/tutorial.md).
**Q:** but why?
**A:** I thought this idea was so stupid that *it had to be done* (no it really hadn't).
**Q:** Have I ran out of questions already?
**A:** Yes. ðŸ¤