|
Post by Pjot on Apr 30, 2015 20:16:35 GMT 1
All, The latest BaCon version 3.0.3 is ready for consumption and can be obtained from the BaCon website. Like the previous 3.0.2 version, this is a maintenance release which focuses on fixing issues caused by the major code overhaul in the 3.0 version. Highlights: - General performance improvements
- Lots of code cleaning
- Usual bug fixes
See the full list of changes for more details (please clean your browser cache to obtain the latest). BaCon releases are made available after testing on several platforms, including Tru64Unix, MacOSX and several flavors of Linux. As usual thanks to the BaCon community for notifying issues, reporting bugs and suggesting improvements. Best regards Peter
|
|
|
Post by vovchik on Apr 30, 2015 20:30:33 GMT 1
Dear Peter, Thanks for this and for your tireless efforts to make BaCon ever more efficient and versatile. Have a nice 1st of May. With kind regards, vovchik
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on May 1, 2015 10:26:08 GMT 1
Hi Peter, I just tested the latest BaCon with embedding Script BASIC. I have a project on the All BASIC forum going to show how to use SB embedded by using itself. The SBT extension module (enhanced with C BASIC) shows both the extension and embedded APIs and my plan is a Script BASIC API tutorial in code. sb.c ' BaCon Command Line Interpreter
PRAGMA OPTIONS -I/home/jrs/sb/source PRAGMA LDFLAGS scriba pthread PRAGMA INCLUDE scriba.h getopt.h PROTO scriba_destroy
DECLARE pProgram TYPE pSbProgram
cmdln$ = ARGUMENT$ SPLIT cmdln$ BY " " TO opts$ SIZE cnt
pProgram = scriba_new(malloc,free) ok = scriba_LoadConfiguration(pProgram,"/home/jrs/sb/sb22/basic.conf") ok = scriba_SetFileName(pProgram, opts$[1]) ok = scriba_LoadSourceProgram(pProgram) ok = scriba_Run(pProgram,opts$[2]) scriba_destroy(pProgram)
test.sb cmd = COMMAND()
PRINT "ARG = ",cmd,"\n"
FOR x = 1 TO 5 PRINT x,"\n" NEXT
Output jrs@laptop:~/BaCon/3.0.3/SB$ bacon sb.bac Converting 'sb.bac'... done, 19 lines were processed in 0.005 seconds. Compiling 'sb.bac'... cc -I/home/jrs/sb/source -c sb.bac.c cc -o sb sb.bac.o -lbacon -lm -ldl -lscriba -lpthread Done, program 'sb' ready. jrs@laptop:~/BaCon/3.0.3/SB$ time ./sb test.sb Hello ARG = Hello 1 2 3 4 5
real 0m0.004s user 0m0.000s sys 0m0.004s jrs@laptop:~/BaCon/3.0.3/SB$
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on May 1, 2015 11:36:11 GMT 1
I've just installed the newest version on my fresh OS. It works with no problems. The only thing is that I've used the .deb file and the installator said all dependencies were satisfied, what was useless, because I didn't have a C compiler or Gtksourceview library installed at that moment. But that's a minor issue. Once again thanx for a new BaCon version and the new HUG 1.0!
|
|