« first day (437 days earlier)      last day (1098 days later) » 

06:49
That's pretty slick! Semantically, I wonder if it would make sense to use $? "G"$ `circle or something like this? (G standing for graphical element)
 
3 hours later…
10:01
the challenge is that you need a syntax which is distinguishable from the top level from K (and presumably still fast and easy to type), and there aren't a lot of choices available. Perhaps one could contrive to free up ^, K's least-conserved symbol...
or I guess for purposes of prototyping I could simply use a unicode character from the macintosh option-plane
10:30
I think leveraging unicode characters for experimental ops in oK/iKe is a fine choice, to be honest
Since they are provided for "free" (that is, you are paying whatever their cost of inclusion is anyway), may as well make use of them.
 
3 hours later…
13:40
random observation: k9 dev gives a similar feel to when Ken Mattingly is trying to find a power-on sequence in Apollo 13
 
4 hours later…
17:16
HAH!
 
3 hours later…
19:49
@JohnE how do you generate your graphics? - very nice stuff btw
most of my display stuff in apl ends up just being ⍵⍴'#' or using gnu apls ⎕PLOT
 
2 hours later…
21:25
@cannadayr iKe has its own drawing interface. Your code generates a list of tuples which describe either drawing filled polygons or bitmaps, which can be constructed in any way you wish. The implementation happens to be built on top of the HTML5 Canvas element. You can see documentation for iKe here: github.com/JohnEarnest/ok/tree/gh-pages/ike#output
the iKe drawing primitives are quite simple, and not always the easiest or most efficient way to describe something, but they're flexible enough to permit an interesting variety of programs
I think that building iKe around manipulating a symbolic data structure rather than imperatively calling different drawing procedures helps make it mesh better with the array programming paradigm.
21:45
very neat. will have to dig into this.
 
2 hours later…
23:45
happy to answer any questions. I think it would be very doable to write iKe-like graphics and IO capabilities for other APLs; possibly even as an application that simply wraps the interpreter and talks to it over stdio

« first day (437 days earlier)      last day (1098 days later) »