5 ms·
.function {greet} .greet {world} from:{iamgio} I strongly suggest that the greet call uses a slightly different syntax (e.g. two dots) as the system other
by silvestrov 1y ago
.function {greet}
.greet {world} from:{iamgio}
I strongly suggest that the greet call uses a slightly different syntax (e.g. two dots) as the system otherwise can't introduce new keywords without risking conflict with function names in existing documents.
- zelphirkalt 1y agoDoes it need more keywords? This syntax reminds me of Smalltalk syntax a little and Smalltalk famously got away with merely 6 keywords. I didn't check the syntax in detail for quarkdown, and I don't expect it to be as well thought out as Smalltalk, but it is quite possible to get away with only few keywords. Question is then how complete their concept is right now. Also there could be a versioning mechanism, that labels a document as for a specific version of Quarkdown.
- ehutch79 1y ago64kb of ram is enough for anyone.
- maxloh 1y agoA backward compatible design would be resolve to user-defined functions first, built-in keywords afterwards. That way any new keywords won't be a backward incompatible change.
- willvarfar 1y agoif you have a UDF called .until and then this becomes a keyword, does the new 3rd party library you start using that uses the keyword .until still work, and what does the LLM vibe-coded start doing in the future when it makes use of the .until keyword?
- IshKebab 1y agoThat's a pretty bad design. You don't want users to be able to create functions named as keywords because it will break other code.