HackerTrans
TopNewTrendsCommentsPastAskShowJobs

gima

no profile record

Submissions

Reusable custom syntax for any programming language (Language Workbenches) [video]

youtube.com
1 points·by gima·3 ay önce·1 comments

comments

gima
·3 ay önce·discuss
JetBrains MPS: Create syntax to augment your programming - Syntax can be visual - Programming-language independent - Can distribute syntax changes as modules (re-use them in different projects) - Can extend already-existing modules, yet remain compatible with the original syntax extensions - Opensource.

General term for these is 'Language Workbenches'.

Apparently it's an old thing, but I still remember complaining about it: "Why does a programming language have to have a rigid syntax? Why can't the syntax be packaged, versioned and depended on, the same way libraries can be added as dependencies to a project? Just 'include syntax-feature-x', and it would be a dependency for your project, just like any other external library. A language could also choose modules to freeze as it's syntax for a release like 'if you use Programming Language KikiBoba's base syntax profile 2025, then you have these [x,y,z,..] syntax modules available in your project."
gima
·4 ay önce·discuss
This is the problem with "in-band signaling". Not just with LLM's, but Linux TTY suffers from this as well, among others.

Anything that doesn't separate control data from the actual data. See https://en.wikipedia.org/wiki/In-band_signaling
gima
·4 ay önce·discuss
"How many options fit into a boolean?" Five or two, according* to Microsoft.

> MsoTrioState is "a tri-state Boolean value". it has five possible values. only two of them are supported.

*) https://learn.microsoft.com/en-au/dotnet/api/microsoft.offic...

Sourced from here https://fedi.lynnesbian.space/@lynnesbian/115969259564305759