I announce dib (dib Is Basic), an emulator of the Dartmouth BASIC
version III (1966) with some extra features.
Hope you will like it.
It must be compiled, with 'make' in the source directory and with gcc .x
or later.
I tested it only on my emac with Mac OS X Tiger, but I guess it should
compile and run on any system with gcc.
Send me your advice and report all the problems you face. I'll try to
resolve them, maybe with your help.
Send me also all the source BASIC program you can conceive that can run
for dib: I'll include them in next upload.
You can find dib here: http://digilander.libero.it/tonibinhome/deer/
You can write to tbin at libero dot it for any help.
-- Antonio
I tried to run this:
10 for I=1 to 10
20 print I;
30 next I
99 end
but all it says is
NO END INSTRUCTION IN 99
Tom Lake
OK, I tried it all in caps which does work.
10 FOR I=1 TO 10
20 PRINT I;
30 NEXT I
99 END
Are there any plans to make an immediate mode like the old environment had
where you can type in a statement and have it executed immediately?
Tom Lake
Have you tried all capitals? dib works with capitals statements.
-- Antonio
(I sent you the "all capitals" note before reading this post).
Yes, there are plans. I created a bash script which emulates (at some
extent) the Dartmouth OS, but I plan to write it in C for the gcc. Only,
not now, since I have another project on the run.
If you please, (and this is for all posters), I can attach to a post on
this forum the bash script (bash 3.x), but I don't guarantee it works
for all UNIXes, because it makes a heavy use of the environment programs
(gawk, xargs, date, iostat), which behave differently on different
UNIXes. I have written also a small manual for it.
Tell me if you want it.
-- Antonio
Carlo is one of my nicknames!
I'd sure like a copy. Mille grazie!
Tom Lake
-> 10 for I=1 to 10
-> 20 print I;
-> 30 next I
-> 99 end
-> but all it says is
-> NO END INSTRUCTION IN 99
What happens if you leave out line 99?
I get NO END INSTRUCTION IN 30 but the problem was
fixed by entering the program using all caps.
Tom Lake
You can download the revised version here:
http://digilander.libero.it/tonibinhome/deer/doc/dib_manual.txt
I won't insert this file into the source package, but next version
(1.0.delta)
will contain all the revisions.
Ciao.
--------------------------
Antonio Maschio