3 ms·
I am sure Kashmir is a great idea - in fact, I was wondering why there couldn't be a typed lisp compiling to C, but please put more coding example!
by S4M 11y ago
I am sure Kashmir is a great idea - in fact, I was wondering why there couldn't be a typed lisp compiling to C, but please put more coding example!
- owickstrom 11y agoCool! :) I'll add more examples as soon as possible. Actually there's not much you can do with Kashmir at the moment, I've mostly focused on getting the basic model up so there's no library functions available etc. I have an idea about how to read the type signatures from compiled Go packages to be able to do simple interop between Kashmir and Go - no extern declarations or anything like that.
- S4M 11y agoOne thing I wonder: does let take types? Something like: (let ((x :string "hello")) (fmt.Println (+ x "owickstrom"))) (Although in that case the type can probably be infered...)
- owickstrom 11y agoIt does! (let (([x : string] "hello")) (fmt.Println (+ x "owickstrom")))
- codygman 11y agohttp://www.shenlanguage.org/ http://www.shenlanguage.org/