4 ms·
Are you criticizing the MAL project or just offering general advice? I feel MAL does a decent job illustrating the core concepts of Lisp, but then I'm not a Li
by carapace 3y ago
Are you criticizing the MAL project or just offering general advice?
I feel MAL does a decent job illustrating the core concepts of Lisp, but then I'm not a Lisp expert by any means.
- kazinator 3y agoI'm not sure which, if any, of my remarks apply to MAL specifically. I don't have the impression that the author of the MAL project used it as a way of learning Lisp. To my best understanding, MAL provides a step by step recipe and test cases for implementing a language dialect, plus example implementations for which that has been done. Someone going through the MAL exercise will mainly interact with the chosen implementation language. Writing a new MAL implementation could be used as an exercise to learn some unfamiliar language. I'm not convinced that programmers implementing MAL are actually learning how to use MAL, since it doesn't look as if the exercise requires them to write MAL code to solve problems. To learn MAL, you would take the project as-is with its integrated implementations and use that to get other work done. Suppose someone actually learns MAL by working with it. Are they learning Lisp? I'm not sure how much of their acquired skill will transfer to working with a mainstream Lisp. MAL looks rather like a kind of Mock Lisp (see: https://en.wikipedia.org/wiki/Mocklisp https://en.wikipedia.org/wiki/Mocklisp). It's implemented even in Bash and Awk using string processing. The good thing about MAL is that at least the participants in the exercise are following a specification instead of just making something up as they go along and calling it Lisp. Making something that is compatible with a spec and other implementations is a good exercise for software engineering students, regardless of what it is. MAL would still be valuable that way if it was, say, MAVE: make a vi editor, or MAM: make a Mario game. I have no idea how effective MAL is educationally in teaching the concepts themselves that underpin MAL, which revolves around this question: is it possible to mechanically follow the recipe and get a new implementation working, without understanding the concepts? Separately from the question of whether MAL concepts are Lisp concepts, is the MAL implementor who follows the structured workflow learning the MAL concepts, or are they just massaging code to get some tests to pass. (But, of course, even if they are, so what; nothing stands in their way of learning any concepts they want in any other manner.)