So... ferret actually uses emacs to tangle the source code from org-mode: https://github.com/nakkaya/ferret/blob/master/Makefile#L38-L51
oh yeah, how was the meeting on tuesday! what did y'all talk about
I guess I could edit the org-mode file manually, and install emacs just to tangle.
We broke https://ferret-lang.org
We discovered (= :hello :elloh) in ferret lang.
This started with seeing that :hello prints as keyword#590 . 590 is the sum of the letters in "hello".
It kind of makes sense for targeting Arduinos with 2K program space and some few bytes of RAM, but I think I still would have chosen a better hash function. Actually, I think I would have had the compiler assign numbers in one of the AST transformation stages.
that's... a terrible hash function lol
reminds me of the early php
> In some cases, the function names were chosen to match the lower-level libraries which PHP was "wrapping",[23] while in some very early versions of PHP the length of the function names was used internally as a hash function, so names were chosen to improve the distribution of hash values.[24]
THE LENGTH OF FUNCTION NAMES
oh god, I remember that
I'm not sure how I ran into it?
I spent a bunch of time maintaining clipper code, where only the first four letters were significant for some things.
Oh, it looks like it was 10 for functions.
haha, the AI tells me dBASE III was 8 characters, but dBASE IV was probably also 8 characters, but don't trust it because it's been a while since they checked.
i love computer