Re: [Jprogramming] Translating BASIC into J

2012-11-28 Thread David Ward Lambert
By the way, I advised this guy or a classmate in a previous thread that in executable Iverson notation - signum of a subtraction table would give the result. http://forums.devshed.com/c-programming-42/help-2darrayt-935164.html *@:(-/~)i._5 0 1 1 1 1 _1 0 1 1 1 _1 _1 0 1 1 _1 _1 _1 0 1

Re: [Jprogramming] Translating BASIC into J

2012-11-28 Thread David Ward Lambert
Google translations are fantastic, see my post http://forums.devshed.com/showpost.php?p=2837374&postcount=3 Google detects Japanese (I suppose that part is trivial), giving the likely result "Seriously Thank you for the very much". http://translate.google.com/#auto/en/%E3%83%9E%E3%82%B8%E3%81%A9%E

Re: [Jprogramming] Translating BASIC into J

2012-11-28 Thread Linda Alvord
I choose matchY. It is quite beautiful ! 5!:4 <'matchY' ┌─ [: ├─ / ─── *. │ ──┤ ┌─ = │ ├─ +. │ │ ┌─ '0' └─┤┌┼─ = ││

Re: [Jprogramming] Translating BASIC into J

2012-11-28 Thread Linda Alvord
pray 125 CREDO IN JESUM CUJUS REGNI NON ERIT FINIS AMEN My Aunt was a Latin teacher and one day she substituted in my Latin II class in high school. She was appalled when I could not translate a single sentence correctly. I had a bit of trouble with this one, too. Linda -Original Mess

Re: [Jprogramming] Translating BASIC into J

2012-11-28 Thread Linda Alvord
I pieced it all together from your description and it worked fine. I got this message in Chrome when I looked at the jijx window. This page is in French Would you like to translate it? Translate Nope Click on French to choose among many languages. Then choose Translate or Nope I would have tho

Re: [Jprogramming] Translating BASIC into J

2012-11-28 Thread John Baker
Very nice Ian. Until I saw your post I had no idea what Credo was up to --- to much of a heathen to consider prayer automation I guess. Sent from my iPhone On Nov 28, 2012, at 8:58 PM, Ian Clark wrote: > Here's my take on the topic: http://www.jsoftware.com/jwiki/IanClark/credo > > There's a

Re: [Jprogramming] Translating BASIC into J

2012-11-28 Thread Ian Clark
Here's my take on the topic: http://www.jsoftware.com/jwiki/IanClark/credo There's a script at the bottom of the wiki page you can download. I haven't attempted to replicate BASIC's itty-bitty I/O, all mixed-up in the processing. As well write a mini interpreter in J and get it to run the BASIC c

Re: [Jprogramming] Documentation in J REPL

2012-11-28 Thread Zachary Elliott
a few quick notes on https://github.com/zellio/j-mode The new version of j-mode is still under fairly rapid development. It is largely stable and functional albeit poorly documented. If you are planning on using it I would suggest checking for updates early and often at least for the next month or

Re: [Jprogramming] Translating BASIC into J

2012-11-28 Thread PackRat
Bo Jacoby wrote: > 1 INPUT;C$: IF C$="" THEN END > 2 OPEN "CREDO" FOR INPUT AS 1: PRINT":"; > 3 IF EOF(1) THEN CLOSE: PRINT: GOTO 1 > 4 LINE INPUT#1,A$: B$=C$ > 5 IF A$=""THEN A%=-1 ELSE A%=ASC(A$)-48: A$=MID$(A$,2) > 6 IF B$=""THEN B%=-1 ELSE B%=ASC(B$)-48: B$=MID$(B$,2) > 7 IF A%<0 THEN PRINT" "

Re: [Jprogramming] Documentation in J REPL

2012-11-28 Thread Devon McCormick
Zach's version is new as of about two weeks ago: https://github.com/zellio/j-mode . On Wed, Nov 28, 2012 at 10:25 AM, Y-01 wrote: > Devon, newer version of j-mode.el = > http://sourceforge.net/projects/j-mode/files/j-mode/0.3/? I use it too but > it's not a new at all (2004 y.). > > On Wed, Nov

Re: [Jprogramming] Documentation in J REPL

2012-11-28 Thread Y-01
Devon, newer version of j-mode.el = http://sourceforge.net/projects/j-mode/files/j-mode/0.3/? I use it too but it's not a new at all (2004 y.). On Wed, Nov 28, 2012 at 2:53 PM, Devon McCormick wrote: > I and at least a couple of other people use emacs. I'm currently trying > out a new version o

Re: [Jprogramming] Documentation in J REPL

2012-11-28 Thread Devon McCormick
I and at least a couple of other people use emacs. I'm currently trying out a new version of j-mode.el, thanks to one of our NYCJUG members, Zach Elliott. I haven't used JHS very much. On Wed, Nov 28, 2012 at 4:05 AM, Y-01 wrote: > Hi@everybody > > Whether there is a way to find definition of

Re: [Jprogramming] Documentation in J REPL

2012-11-28 Thread bob therriault
One way to solve the change mode issue to access help is to already be in a browser and you can do that by running JHS 701 (which itself runs in a browser). Demo 9 (I think) within JHS shows a multiwindow display that might be bent into a shape to accommodate your needs. That's all I got :) Ch

Re: [Jprogramming] Translating BASIC into J

2012-11-28 Thread Bo Jacoby
Thanks Henry! I am embarrassed. - Bo > > Fra: Henry Rich >Til: programm...@jsoftware.com >Sendt: 11:24 onsdag den 28. november 2012 >Emne: Re: [Jprogramming] Translating BASIC into J > >124222 SECUNDUM > >Henry Rich >Inquisitor General > >On 11/28/2012 2:49

Re: [Jprogramming] Translating BASIC into J

2012-11-28 Thread Henry Rich
124222 SECUNDUM Henry Rich Inquisitor General On 11/28/2012 2:49 AM, Bo Jacoby wrote: Thank you very much, June and Raul! The blank lines in the file should not be there. (They were invisible until the mail was sent.) A line number ends when a nondigit character is encountered, and line number

[Jprogramming] Documentation in J REPL

2012-11-28 Thread Y-01
Hi@everybody Whether there is a way to find definition of some symbol without switching to browser. example: help '&' or help 'A.' and it will print short description (may be with short examples). mb there is a lib/addon that do it? Does JOD solve this problem? And what is the usual env