#DecemberAdventure
h3rald h3rald@h3rald.com
Fri, 06 Dec 2024 14:47:26 +0100
1 files changed,
23 insertions(+),
0 deletions(-)
M
contents/articles/december-adventure-2024.md
→
contents/articles/december-adventure-2024.md
@@ -157,3 +157,26 @@
Not bad, even though it feels a bit verbose. I am actually considering using `.` instead of `i` to dequote quotations and maybe even `:` instead of `store`, although it may become less readable. At present, non-alphanumeric symbols are only used for well-known mathematical operators like `>` or `+`. Oh, and I also fixed a buffer overflow issue in the `read` symbol. + +### Day #6 + +I decided to give it a try, and changed a few commonly-used symbols to use a single non-alphanumeric character: + +* `store` → `:` +* `free` → `#` +* `i` → `.` +* `eval` → `!` +* `q` → `'` + +So yesterday's code snippet becomes this: + +``` +t_page read +"content" content process-tag . +"title" id_content process-tag . +"release" meta_release process-tag . +"year" meta_year process-tag . +"new_content" : +``` + +Out of all, I am particularly fond of `.`, `'`, and `:`. The last two come straight from [min](http://min-lang.org), while the dot I shamelessly "borrowed" from [Lobo](https://gts.quiltro.org/@lobo)'s [kojote](https://git.quiltro.org/lobo/kojote) (thanks!).