News for hackers. Stuff that matters.
Re:ChrysaLisp by TheAsprngHacker on Monday January 13, 2020 @01:18PM (#22037048)
As someone who isn't familiar with this Lisp dialect / DSL, something that stands out to me is the (def-struct ...) ... (def-struct-end), (def-method ...) ... (def-func-end), (switch) ... (endswitch), and (vpif ...) ... (endif). The appeal of s-expressions is that their nested structure is supposed to delineate the abstract syntax tree of the program, with the opening and closing parentheses denoting the boundaries of a construct. IMO this language's syntax isn't faithful to the spirit of Lisp.
Re:ChrysaLisp by vygr on Monday January 13, 2020 @01:34PM (#22037180)
The (def-struct) stuff is part of the assembler ! Not the Lisp.

Same with (def-enum) etc.

I am going to have to write a document to clearly state where these boundaries between the Lisp, the C-Script and the VP layers. I realise it's not that obvious sometimes.

Chris

Re:ChrysaLisp by Koshkin on Monday January 13, 2020 @09:46PM (#22041329)
(def-func-end) and other ‘ends’ look pretty un-lispy to me. Helps readability, though.