[HN Gopher] The Number Guessing Game Written in YAML as Lisp Int...
       ___________________________________________________________________
        
       The Number Guessing Game Written in YAML as Lisp Interpreted with
       Python
        
       Author : todsacerdoti
       Score  : 19 points
       Date   : 2022-01-23 15:45 UTC (7 hours ago)
        
 (HTM) web link (bas.codes)
 (TXT) w3m dump (bas.codes)
        
       | jinwoo68 wrote:
       | In the last section, the author is wrong about `cadr`. It should
       | be `cdr` that means "the rest of the list". `cadr` is for the
       | second element of the list.
        
         | bascodes wrote:
         | Thanks for the hint. You're right, I've changed that!
        
       | spicybright wrote:
       | Crimes against programming aside, I love these sorts of things!
       | 
       | Have you worked on anything else that's quirky like this?
        
       | wizzwizz4 wrote:
       | I don't think this is very good, because you have stuff like
       | `ifeq`, and `what` sometimes introduces code, sometimes
       | introduces data, and sometimes introduces keywords. I've tried to
       | make languages like this before, and they've all looked beautiful
       | to _me_ ... and incomprehensible to everybody I've shown them to.
       | And also incomprehensible to future me, in a way that even
       | languages I don't know aren't.
       | 
       | If you think your students will have trouble with syntax, try
       | giving them a BASIC or a graphical language (Blender, Scratch,
       | etc.) to start with. Or give them a language with good error
       | messages.
       | 
       | To make a simple language, you need to start with simple
       | principles, and _strictly_ generalise them. If the result isn 't
       | clear and easy, you need to change the fundamental principles and
       | pretty much start all over again. I think this idea has promise,
       | but you'll probably need to make your own language for it,
       | instead of trying to shoe-horn LISP's names and idioms into it.
        
       ___________________________________________________________________
       (page generated 2022-01-23 23:02 UTC)