|
Post by joe2874 on Mar 31, 2022 3:40:42 GMT -6
I tested X11-Basic. the syntax is similar to the excellent GFA BASIC which was very successful on the Atari ST computers of the time. the language has an instantaneous interpreter, a pseudo code compiler and a compilable C code generator. I have configured everything under geany. the examples give a good idea of the potential of the language. it would make an excellent bash scripting language under linux. the documentation is excellent. the interpreter is fast. the updates are not frequent and the forum not very frequent. the package provided in the official site does not work with ubuntu 20.04 because of dependency not found. i had to compile the source code.
|
|
|
Post by n00b on Mar 31, 2022 18:18:29 GMT -6
joe2874 The syntax looks like more traditional 8/16 bit basics. I am going to download it and try out some of the examples. Thanks for sharing.
|
|
|
Post by joe2874 on Apr 1, 2022 3:42:51 GMT -6
hello, gfa-basic was very much ahead of its time. i bought it as soon as it was released and made many programs under the atari st, x11-basic is quite similar, here is a code example: #!/usr/bin/xbasic ' DUST (Portierung von ATARI ST GFA-Basic Orginalversion 1989) ' Markus Hoffmann (Modifikation Weihnachten 2004 --> HEX) ' ' should be called with one parameter, namly the the file to be ' dumped as hex... ' i=0 WHILE LEN(PARAM$(i)) f$=PARAM$(i) INC i WEND IF EXIST(f$) OPEN "I",#1,f$ t$=INPUT$(#1,LOF(#1)) CLOSE #1 ELSE PRINT "Usage:" PRINT PARAM$(0);" filename" QUIT ENDIF i=VARPTR(t$) i0=i DO PRINT "$";HEX$(i-i0,8)' FOR j%=0 TO 15 PRINT HEX$(PEEK(i+j%) AND 255,2)' NEXT j% PRINT ' FOR j%=0 TO 15 a=PEEK(i+j%) IF a>31 PRINT CHR$(a); ELSE PRINT "."; ENDIF NEXT j% PRINT ADD i,16 EXIT IF i-VARPTR(t$)>LEN(t$) LOOP QUIT
To get an idea of the potential of the language, check out this link: codeberg.org/kollo/X11-Basic_examplesyour rcbasic interpreter is very good, you should take inspiration from other languages to improve it. i have tested a lot of code in your forum which shows good potential. but there are few users in your forum. you should talk about it in other forums to attract people. i have seen a lot of excellent projects slowly fading away because of lack of publicity. a donation system could help as well. I can provide you with an ubuntu 20.04 compatible deb package of x11basic if you want.
|
|
|
Post by rosy on Apr 1, 2022 5:06:37 GMT -6
joe2874 The syntax looks like more traditional 8/16 bit basics. I am going to download it and try out some of the examples. Thanks for sharing. I have talked about him many times. It is quite different from 8-bit dialects, it has more functions than RC. I just converted the game from RC to GFA, I didn't have to change much ...
|
|
|
Post by aurel on Apr 1, 2022 15:57:18 GMT -6
potential..? what ?,,it is less featured than smallBASIC maybe is a good option for linux but for windows is not
|
|
|
Post by rosy on Apr 2, 2022 16:31:16 GMT -6
And what is your micro good for?
|
|
|
Post by aurel on Apr 3, 2022 4:44:02 GMT -6
As the name says is good for micro programs ..for experimenting....for small demos... and for what is your basicC good?
|
|
|
Post by rosy on Apr 3, 2022 4:57:36 GMT -6
Plus, you can use X11 and many other things, and it works on multiple platforms. BasicC is suitable for everything, especially games.
|
|
|
Post by aurel on Apr 4, 2022 14:37:34 GMT -6
Yes ..sure ..but who knows how work
|
|
|
Post by rosy on Apr 4, 2022 16:38:58 GMT -6
Who can read: P
|
|