News for hackers. Stuff that matters.
Re:Cakelisp: A Programming Language for Games by makuto on Sunday December 20, 2020 @10:20PM (#25491841)
Thanks! It is a bit different, and does require more typing, but I like how unambiguous it is. It also simplifies code modification by making type parsing and changing easier, because you can recursively unwrap multiple pointers, or pointer-ify things easily.
Re:Cakelisp: A Programming Language for Games by MycroftJones on Sunday December 20, 2020 @11:24PM (#25492114)
Have you looked at newlisp? It has pretty seamless interop with C pointers.
Re:Cakelisp: A Programming Language for Games by emmelaich on Sunday December 20, 2020 @11:30PM (#25492143)
Looks fantastic. Does it handle typedefs too? So one could write

   (var my-string conststring "Blah")
with the appropriate typedef.
Re:Cakelisp: A Programming Language for Games by makuto on Sunday December 20, 2020 @11:32PM (#25492152)
Yes! You can typedef types and function signatures.