Hacker GitHub

← All repos

darius/cant

View on GitHub ↗ ★ 57 Tree-sitter Query

A programming argot

12 mentions on Hacker News by 2 people: 0 stories, 12 comments · first 2016-12-27 · latest 2024-10-16

Mentions per year 12 mentions · busiest year 2022 (3)
20082026
  1. https://github.com/darius/cant/blob/master/examples/text/ood... though modern is a matter of fashion.
    comment by abecedarius · 2024-10-16 · in Hofstadter on Lisp (1983)
  2. That was one of the short examples in Norvig's Python program-design course for Udacity. https://github.com/darius/cant/blob/master/library/regex-gen... (I don't have the Python handy.)
  3. …make more levels. Don't read this, then (from a 2048 game instead of Sokoban, but same principle): https://github.com/darius/cant/blob/master/examples/games/20... As long as I'm commenting, here are some links to other Sokobans I thought…
  4. …some major problems. My language would still be a handicap for me now, albeit a comfy one. fwiw: https://github.com/darius/cant/tree/master/examples/advent-o... (haven't done this year's so far)
  5. …and I just haven't heard of them. Edit: Darius Bacon wrote a version of this approach in https://github.com/darius/cant/blob/master/library/factoring... where the "frontier" of active riders is stored in a hash table rather than a bin…
  6. …it'd be fine to code to that informal social contract. (Just a loose analogy.) I'm piddling away at https://github.com/darius/cant these days. (Some of the motivation was feeling too confined by Python, actually.) No Wasm, but I'm happy it…
  7. …It's a pretty big stress for a personal toy language, but not too out there. (Added: the code: https://github.com/darius/squeam/blob/master/eg/advent-of-co... )
    comment by abecedarius · 2019-03-01 · in Let’s LISP like it’s 1959 [video]
  8. Yet another: this is the whole compiler, but for a simpler language and target. https://github.com/darius/squeam/blob/master/eg/lambdacompil... It's in my own Scheme variant, I'm afraid. I guess I should translate it to something people…
  9. …work. This year I tackled AoC in my own pet new Scheme descendant which tries to fix this problem: https://github.com/darius/squeam -- I'll check in my solutions later today. Incidentally one thing I learned on Day 1 was that Chez Scheme's…
  10. Nice. I saw one working like that in Clojure and rewrote it in my own Lisp: https://github.com/darius/squeam/blob/master/eg/bag-life.scm (the bag is like Python's Counter).
  11. …be lots more considerations. Yeah, I have a project right now too where these questions come up -- https://github.com/darius/squeam -- though it's not really ready for anyone.
  12. My new Lisp dialect is https://github.com/darius/squeam (and as it says, I'm not wishing it on anyone else). Pattern matching would replace a call like cadar with a pattern like ((_ x @_) @_). Using cadar is sort of like point-free style…
    comment by abecedarius · 2016-12-27 · in The Origin of CAR and CDR in Lisp (2005)