What are you working on? - Programming On Unix
Users browsing this thread: 60 Guest(s)
|
|||
(18-10-2016, 02:10 PM)josuah Wrote: Small, functional, programming languages, with implementations in C: Sounds good so far! Yeah, they are quite small implementations. For klong, I am solving the 99 lisp problems (http://www.ic.unicamp.br/%7Emeidanis/cou...blems.html), which works quite nicely with array languages. (18-10-2016, 02:10 PM)josuah Wrote: It would take me some time to get used to Klong notation, though.It's actually not that hard. And array languages have a right approach operators, they just like them too much: Code: s26::{[t];t::y;,/:[y<3;{(,*x),:\1_x}'((#x)-@x){1_x}\*x;{(*x),:\s26(x@1; t-1)}'{(,,*x),,1_x}'(#x){1_x}\*x]} Solution for problem 26, subsets of size y in x. klong and hope both lack utf8 support, unfortunately. But that could be solved. |
|||