Elektrine lite

← Feed

@lritter@mastodon.gamedev.place

Post #2192370

2026-05-06 22:18 UTC

@contrapunctus@fe.disroot.org intro: i wrote classic s-expressions for about a year before i lost my patience. i looked at what was there at the time in terms of parensless syntax layers (2016) and none of it felt very modern and practical for what i needed. i was working on a new language anyway, so i figured i'd throw the legacy baggage overboard and do a pythonic spin on it, and then some. and now, 10 years later, i'm still happy with my choices and leaning on the format even harder.

Replies (1)

  • @contrapunctus@fe.disroot.org compared to EDN which you linked, sx only has lists. no arrays, no maps. in the preprocessor, even literals are encoded as lists + symbols. just two atomic types, no more. datastructures don't belong on that level. [] and {} are styles only. does conspack have a pythonic mode? examples don't look like it. an original concern was to reduce editing distances for common tasks without requiring a special editor. e.g. commenting out a block is 1 keypress in gedit or vim.

    Open ##2192371