• zea@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    13
    ·
    10 months ago

    If you must avoid code blocks, that means you can only use one line. I don’t think you can be Turing complete if each function can only call one function. I don’t even think you can get a context-free grammar, Chomsky normal form at least allows a variable to expand into two variables.

    • JDubbleu@programming.dev
      link
      fedilink
      arrow-up
      6
      ·
      10 months ago

      Please never bring up CNF again. I’m a year out of college, two years out of finite automata, and I still shudder when it’s brought up.