News for hackers. Stuff that matters.
Re:Cakelisp: A Programming Language for Games by azhenley on Sunday December 20, 2020 @09:39PM (#25491624)
It looks like an interesting project. The syntax for pointers is what grabbed my attention at first. Would really need to spend some time with this to know how it would work in practice.

    const char* myString = "Blah";
    (var my-string (* (const char)) "Blah")
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.