8 ms·
Birb: Programming with bird emojis
- arpanetus 3y agoI see that author used these Combinator Birds or Birbs [1]. [1] https://www.angelfire.com/tx4/cus/combinator/birds.html https://www.angelfire.com/tx4/cus/combinator/birds.html
- ufo 3y agoWhich goes back to Raymond Smullyan: https://en.wikipedia.org/wiki/To_Mock_a_Mockingbird https://en.wikipedia.org/wiki/To_Mock_a_Mockingbird
- ianbutler 3y agoThe fact there isn't a crow (or other corvids) is a crime. Otherwise I enjoy this immensely.
- marvinborner 3y agoThe only emoji that comes close to a crow is probably the black bird ⬛ (edit: hn does not seem to render this?). Unfortunately, it's a joined letter and therefore can't be parsed/typed that easily. Other than that the combinators that I would have liked to match are vireo, warbler, thrush, lark, jay, hummingbird, (gold-)finch and becard - all of these don't have emojis.
- deleted 3y ago[deleted]
- rsynnott 3y agoAlso, looks like that Birb is from 2021 - the black bird emoji only showed up last year.
- marvinborner 3y agoYes, the initial idea[1] was proposed by SCKelemen in 2021. The current design and implementation was created by me a few days ago. Basically everything in the language is up for discussion. [1] https://esolangs.org/w/index.php?title=Birb&oldid=82033 https://esolangs.org/w/index.php?title=Birb&oldid=82033
- deleted 3y ago[deleted]
- butlersean 3y agoThis language would work well in the universe of the fictional absurdist documentary “the falls” The Falls — Greenaway / Nyman https://youtu.be/dTKNMR9KDZg?si=BR521zn3VsK6zTEF https://youtu.be/dTKNMR9KDZg?si=BR521zn3VsK6zTEF
- defrost 3y agoWhat is it with birds, Greenaway & Nyman? Angelfish Decay | Swan Rot: https://www.youtube.com/watch?v=-TBNvlyjTQg https://www.youtube.com/watch?v=-TBNvlyjTQg
- butlersean 3y agoIt’s because Birds aren’t real. https://birdsarentreal.com/ https://birdsarentreal.com/
- defrost 3y agoYou say that, but ... https://www.youtube.com/watch?v=E9v5HJOxV7I https://www.youtube.com/watch?v=E9v5HJOxV7I
- wint3rmute 3y agoReminds me of a similar project by Devine Lu Linvenga: https://wiki.xxiivv.com/site/logic.html https://wiki.xxiivv.com/site/logic.html
- pqdbr 3y agoI honestly have no idea what I'm looking at, but I love it.
- gilcot 3y agoIt's flying lovely :D
- isoprophlex 3y ago> Birbs stagger as they walk: they are reduced in alternating associative order, starting with left associativity at birb index ⌊len/2⌋ Big oof
- mFixman 3y ago> Birbs stagger as they walk: they are reduced in alternating associative order, starting with left associativity at birb index ⌊len/2⌋: BB -> (BB) BBB -> ((BB)B) BBBB -> (B((BB)B)) BBBBB -> ((B((BB)B))B) BBBBBB -> (B((B((BB)B))B)) BBBBBBB -> ((B((B((BB)B))B))B) ... This is the worst operations order I've ever seen and I love it so much.
- toth 3y agoWow, this is (evil) genius. It suggests all sorts of obnoxious "features" for esolangs: - Order of operations depends on number of terms in more complicated manner. - Order of operations depends on data? This would make compiling the language basically impossible, but you could probably get away with it in an interpreter. - Parenthesis have side effects, in addition to changing order of operations.
- lifthrasiir 3y ago> Order of operations depends on data? This would make compiling the language basically impossible, but you could probably get away with it in an interpreter. This is not even a hypothetical feature. There is at least one language which used a type information to resolve associativity [1]. I have even used one, it works, but was very hard to get accustomed for me. [1] https://dl.acm.org/doi/10.1145/1596655.1596667 https://dl.acm.org/doi/10.1145/1596655.1596667 (especially search for "juxtaposition")
- toth 3y agoVery interesting. And it's not even an esolang, but something actually intended for production use! Looking closer, it's not as bad as what I had in mind. Association order only depends on type, not value (which is what I meant by data). This means you can figure it out at compile time, and actually makes some sense if you want to be able to use standard mathematical notation like they do, which has operators with different association orders.
- 3y ago
- wmal 3y agoI'm now waiting for a discovery, that hieroglyphs not only told some stories, but represented ancient algorithms in a programming language similar to this one.
- lifthrasiir 3y agoYou will appreciate this image: https://raw.githubusercontent.com/wenyan-lang/wenyan/master/screenshots/screenshot01.png https://raw.githubusercontent.com/wenyan-lang/wenyan/master/... [1] [1] https://github.com/wenyan-lang/wenyan https://github.com/wenyan-lang/wenyan
- numlock86 3y agoNo goose but the wing? Disappointing.
- marvinborner 3y agoOh no, I can't believe I missed that! I think I like the wing for the phoenix combinator actually. What other combinator could the goose be matched with? Hmm...
- petepete 3y agoPerhaps the authors didn't want decades of people being confused between swans and geese, like they are between 0 and O.
- beeforpork 3y agoCan we see '99 bottles of beer' in Birb, please?
- marvinborner 3y agoShould be easy now, I implemented a lambda calculus to birb transpiler. The resulting program would be huge (like several MBs), though.