all repos — h3rald @ 994ca51a84f393236008dbc56de946ac75180a98

The sources of https://h3rald.com

#DecemberAdventure
h3rald h3rald@h3rald.com
Fri, 06 Dec 2024 14:47:26 +0100
commit

994ca51a84f393236008dbc56de946ac75180a98

parent

c77ee5427e5f1d2c87747cc3473b42a4bb20d7f5

1 files changed, 23 insertions(+), 0 deletions(-)

jump to
M contents/articles/december-adventure-2024.mdcontents/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!).