Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Basic Misc > Re: New version...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 9 Topic 1458 of 1492
Post > Topic >>

Re: New version of bas7 - Interpreter for old basic programs from the line number era

by "Auric__" <not.my.real@[EMAIL PROTECTED] > Apr 11, 2008 at 04:30 PM

On Fri, 11 Apr 2008 08:30:52 GMT,  wrote:

> On 9 Apr., 22:28, "Auric__" <not.my.r...@[EMAIL PROTECTED]
> wrote:
>> On Sun, 06 Apr 2008 20:21:53 GMT,  wrote:
>> > Hello,
>>
>> > I just released a new version of the bas7 basic interpreter,
>> > which can execute old basic programs from the line number era
>> > (If you know GW-Basic: That was the era). The interpreter is
>> > released under the GPL. A description of bas7 can be found here:
>>
>> >http://seed7.sourceforge.net/scrshots/bas7.htm
>>
>> > The new version of Bas7 is contained in new the release of
>> > Seed7 seed7_05_20080406.tgz, which can be downloaded at:
>>
>> >http://sourceforge.net/project/showfiles.php?group_id=151126
>>
>> > Changelog of the 20080406 version of bas7:
>>
>> [snip]
>>
>> > It would be nice to get some feedback about it.
>>
>> Downloading now. I'll try it out tonight or tomorrow and get back
>> to you, especially as compared to my initial testing. My only
>> comments right now are mutterings about people who continue to use
>> gzip when there are much more efficient compressors available. ;-)
> 
> Sure, there are always more efficient compressors available.
> Since I try to sup****t various operating systems, I have to
> choose the least common denominator as compressor.
> Since all the fancy windows compression programs are not
> available under unix I cannot use them.

There's always bzip2. Most of the time it offers better compression 
than gzip. (For seed7 it's usually about 1/4 to 1/3 smaller; for 
everything else it depends on the filetype. I usually use a script I 
wrote that compresses your selected file with everything available, 
one at a time.)

> For windows compression/decompression I suggest 7-Zip (no
> relation****p to Seed7) which is open source software and is
> available at: www.7-zip.org

....which is one of the tools that I use. For *nix systems there's also 
p7zip, the *nix ****t of 7zip:
  http://p7zip.sf.net/

Of course, since that's probably not included with most distros, you'd 
have people *****ing about it anyway.

> I'm looking forward to seeing your feedback.

Well... I wrote down a nice big list, then forgot to copy it to my USB 
stick. [sigh] This is all from memory.

MY SYSTEM:
Slackware 10.1, Kernel 2.4.36, GCC 3.4.5, Pentium III w/ 384MB RAM

INSTALLING:
As before, I had to edit the makefile to find my libX11. I again 
recommend either mentioning this in the README, or finding someone who 
knows how to write a configure script. (I'm using a very standard 
Slackware install; this *will* be a problem for people besides me.)

The compile had no errors, but lots of warnings -- maybe double the 
last time. The previous warnings were all complaints about type 
casting; they're still there but this one added "'variablename' is 
declared but not used" and "'variablename' may be used uninitialized". 
[shrug]

RUNNING:
I did very little testing outside of bas7. I ran castle.sd7 again -- 
found about a dozen treasures this time [yay me] -- and eliza.sd7. 
Both are fine. (Thanks again for the "-p" switch in bas7, btw.)

The BASIC programs all run a bit slow. (I can't recall if this was 
happening in the previous version; I was mostly looking to see if they 
worked at all.) I chalk it up to the fact that the interpreter is 
itself interpreted, but you may want to check for yourself.

Most notable is eliza.bas (from the early-to-mid 80's; the reason I 
also ran eliza.sd7, for comparison) which runs just fine under several 
DOS BASICs, but has a noticeable pause after each line of input. I 
didn't check the logs, but my guess is that the slowdown is caused by 
the logging. Eliza parses the text in a very... well... let's call it 
overly-complex manner, and each line of the parsing, string 
manipulating, and reply choosing probably generates its own log 
output. A very slow way to talk to yourself.

Also, text-mode colors still aren't there. (I realize they're probably 
pretty low on the todo list.) *This* is what I meant last time by "no 
colors". (I ran a BASIC program that "tests" VGA colors.)

I haven't tried any actual graphical programs, but then, I don't think 
that I have any with line numbers...

Uh... I think that's it. [/me stretches brain] I think. I need more 
caffeine, as usual. TO THE CONVENIENCE STORE! AWAY!

-- 
Calm down. It's only ones and zeros.
 




 9 Posts in Topic:
New version of bas7 - Interpreter for old basic programs from th
thomas.mertes@[EMAIL PROT  2008-04-06 13:21:53 
Re: New version of bas7 - Interpreter for old basic programs fro
"Auric__" <n  2008-04-09 20:28:12 
Re: New version of bas7 - Interpreter for old basic programs fro
thomas.mertes@[EMAIL PROT  2008-04-11 01:30:52 
Re: New version of bas7 - Interpreter for old basic programs fro
"Auric__" <n  2008-04-11 16:30:29 
Re: New version of bas7 - Interpreter for old basic programs fro
thomas.mertes@[EMAIL PROT  2008-04-13 04:08:56 
Re: New version of bas7 - Interpreter for old basic programs fro
"Auric__" <n  2008-04-14 15:55:41 
Re: New version of bas7 - Interpreter for old basic programs fro
thomas.mertes@[EMAIL PROT  2008-04-21 07:26:57 
Re: New version of bas7 - Interpreter for old basic programs fro
"Auric__" <n  2008-04-21 15:44:20 
Re: New version of bas7 - Interpreter for old basic programs fro
thomas.mertes@[EMAIL PROT  2008-04-23 09:43:14 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Jul 26 2:30:53 CDT 2008.