fax | does anyone have a J in lisp interpreter |
BrianRice | (<verb>ing <direct-object>) |
fax | like #j(.. whatever) |
BrianRice | fax: hehe, you wish |
fax | I might try it :D |
BrianRice | fax: please do "<verb>ing <direct-object>" => (lambda (&rest rest) (funcall <verb> (<direct-object> . rest))) ?? |
hefner | that's what I was thinking of as -s |
BrianRice | ah |
hefner | you could do one with some horrible LOOP-inspired syntax |
Modius | Anyone here particularly familiar with cl-typesetting? It seems ludicrously cool, yet I can't find much in the way of docs or an example that resembles a report. |
Cin | verb-ing? why -ing? doesn't that imply present tense, a sort of continuous application of a verb like (loop while t (running legs))? |
hefner | that's what I thought. I like to name macros -ing. well, not all macros, but onces that do something around the body. |
Cin | past tense is obviously commonly used for boolean types.. (booked? book) and (book book) future tense is an action... nevermind. just thinking aloud. present tense is the only interesting sounding one |
Zhivago | perhaps you should think of it in the sense of an assertion |
Cin | which tense? |
Zhivago | past |
Cin | is not (booked? book) an assertion? |
hefner | <verb>ing would be neat as a way of combining the values of repeated execution of a body form, but I don't know specifically how you'd control it. maybe 'consing' gives you some kind of list comprehension |
Cin | there's always the 'incrementing' one for LOOP? |
ayrnieu | Clearly, you need Chinese characters for this: list<ma> for (listp obj); string<ba> for (the list obj); (list<hua> obj) for (coerce obj 'list); (<zai>list ...) for whatever you're talking about, and so on. |
Cin | or did I imagine that? |
ayrnieu | fax - please do try that. |
BrianRice | yeah, chinese characters definitely have a nice advantage for this |
fax | yeah just reading about J just now I think the J progams can have unbalanced paranthesis in them? |
ayrnieu | fax - yes, they can. |
hefner | there's always -? and -ify |
fax | yuck :| so that rules out #j( ... ) |
Cin | like x*5(2/4 |
hefner | I hadn't even thought about nouns |
Cin | ? |
ayrnieu | Cin - it uses ) to terminate HERE docs |
Cin | oh |
ayrnieu | but it also has 'balanced' characters as operators, yeah. CAR is {. fax - you probably don't yet understand how brutally simply J works: it has no compilation whatsoever, holding all functions as strings that it interprets each time. APLs get efficiency out of leaf execution, or whatever you like: from spending almost all of their time within smart, very optimized core routines that operate on masses of data at a time. |
froydnj | (which, incidentally, is also why clisp can be blazingly fast) |