![]() |
![]() |
#1 |
Amiga user
Join Date: Nov 2008
Location: Sofia / Bulgaria
Posts: 477
|
Amiga QuickBasic Compiler
Günter Bartsch is making an Amiga QuickBasic Compiler
https://github.com/gooofy/aqb Improvements over AmigaBASIC include: Advanced type system (including UDTs and Pointers) Support for non-static functions and subs (enables recursion) Module support (similar to UNITs in TurboPascal, with full type safety and dependencies) Modern syntax inspired by FreeBASIC and VisualBASIC True native 68k compiler Integrated IDE besides compiler command line interface with syntax highlighting auto-indent folding support There is an Early Preview 0.7.0 alpha1, which works well on AmigaOS 3 system, but the more sophisticated compiled programs crash on my AmigaOS 4. So far the IDE is pretty BASIC, but works. In the examples there is a Tetris clone and Mandelbrot drawing program. I know there is Cursor compiler - http://aminet.net/package/dev/basic/Cursor for compiling AmigaBASIC programs, but AmigaBASIC is very outdated and not very tailored to the Amiga, unlike this new compiler, which is in early stages, but already showing many improvements over the AmigaBASIC interpreter. |
![]() |
![]() |
#2 |
Registered User
Join Date: Jun 2008
Location: somewhere else
Posts: 549
|
Interesting.
There's also ACE (https://github.com/vidarh/ACE) but it's unfinished/bugged and the code generated isn't exactly stellar. |
![]() |
![]() |
#3 |
Amiga user
Join Date: Nov 2008
Location: Sofia / Bulgaria
Posts: 477
|
Here is the compiler running on my AmigaOne X1000
[ Show youtube player ] The simpler examples ran fine, but the more complex ones crashed and I needed to use the compiler under RunInUAE (AmigaOS 3.1). |
![]() |
![]() |
#4 |
Registered User
Join Date: Apr 2019
Location: UK
Posts: 540
|
Tried compiling gorilla.bas and had no joy, lots of complaints about using variables in DIM statements and didn't like some of the function definitions.
|
![]() |
![]() |
#5 |
Registered User
Join Date: Jan 2019
Location: Pierce / USA
Posts: 19
|
Cool to see AQB running on an AmigaOne X1000 and thanks for producing that YouTube video
![]() |
![]() |
![]() |
#6 | |
Registered User
Join Date: Jan 2019
Location: Pierce / USA
Posts: 19
|
Quote:
The trouble with gorillas.bas BTW is not so much porting it to AQB but licensing issues: AFAIK the original Microsoft version (although readily available on the net) has never been officially open sourced so it is difficult to distribute a modified version with AQB. |
|
![]() |
![]() |
#7 |
Coder/webmaster/gamer
Join Date: Oct 2001
Location: Canberra/Australia
Posts: 2,715
|
I don't think he is asking for that game (whether modified or not) to be included with the language, just that the language itself is compatible with it. Which seems reasonable, as there's not much point in releasing a "QuickBASIC compiler" that doesn't actually compile QuickBASIC programs.
|
![]() |
![]() |
#8 |
Registered User
Join Date: Jan 2019
Location: Pierce / USA
Posts: 19
|
I guess you are right, calling it a "QuickBASIC compiler" can be misleading. Even though technically one could argue AQB could be considered a part of the family of QuickBASIC languages (consisting of QuickBASIC for DOS, QuickBASIC for Macintosh and even AmigaBASIC could be considered part of that family) people could reasonably come to the conclusion that running old DOS programs on the Amiga is a goal of this project.
I have updated AQB's README file now trying to make project scope and goals a bit more clear. Much of the additional information there originates from the (surprisingly lively) discussion on amiga-news.de . |
![]() |
![]() |
#9 |
Registered User
Join Date: Jan 2019
Location: Pierce / USA
Posts: 19
|
An updated Alpha 2 preview release is available now, fixing some of the worst alpha1 bugs (at least the examples included should work now): https://github.com/gooofy/aqb/releases/tag/0.7.0alpha2
|
![]() |
![]() |
#10 |
Registered User
Join Date: Jan 2019
Location: Pierce / USA
Posts: 19
|
New major 0.8.0 release of AQB is available for download now
A new major 0.8.0 release of my AQB Amiga Basic Compiler+IDE is available for download now:
![]() https://github.com/gooofy/aqb/releases/tag/0.8.0 The big new feature is source level debugging, but the release also comes with the usual set of new commands and bugfixes. The debugger (just like the rest of the system ? ) has a lot of room for improvements, but all the basic components are there: breakpoints, stacktraces and variable inspection. Runtime exception handling has also been improved so all in all the new release should provide for a much safer development environment now - again, a lot of room for improvements there but this is hopefully a step in the right direction. Comments and feedback welcome! |
![]() |
![]() |
#11 |
Zone Friend
Join Date: May 2006
Location: France
Posts: 1,894
|
Awesome, great work!
|
![]() |
![]() |
#12 |
AmigaMan
Join Date: Oct 2012
Location: Castro Urdiales/Spain
Posts: 766
|
And seems more stable under morphos. Good work.
|
![]() |
![]() |
#13 |
Registered User
Join Date: Jan 2019
Location: Pierce / USA
Posts: 19
|
|
![]() |
![]() |
#14 |
Moderator
Join Date: Jan 2002
Location: Chicago, IL
Posts: 3,454
|
Bring back Microsoft Amiga Basic!
![]() |
![]() |
![]() |
#15 |
Registered User
Join Date: Aug 2015
Location: Emerald City
Posts: 95
|
aqb 0.8.0 compiler crashes (error #80000003) on starting using a 68000.
![]() |
![]() |
![]() |
#16 |
Registered User
Join Date: Jan 2019
Location: Pierce / USA
Posts: 19
|
|
![]() |
![]() |
#17 | |
Registered User
Join Date: Aug 2015
Location: Emerald City
Posts: 95
|
Quote:
2MB Fast + 2MB Chip OS3.2 SnoopDos is saying the Software Failure is occuring on the 2nd write to aqb/prefs.ini during launch. |
|
![]() |
![]() |
#18 |
Moderator
Join Date: Jan 2002
Location: Chicago, IL
Posts: 3,454
|
@cale_tucker
Looks like a nice release, thanx so much for the info. Are you the developer? |
![]() |
![]() |
#19 | |
Registered User
Join Date: Jan 2019
Location: Pierce / USA
Posts: 19
|
Quote:
The 68000 most likely isn't the issue - at least for me AQB runs (and compiles and debugs) just fine on a 68000. |
|
![]() |
![]() |
#20 |
Registered User
Join Date: Jan 2019
Location: Pierce / USA
Posts: 19
|
|
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Compiling with Amiga BASIC Compiler | PDrill | support.Apps | 1 | 04 January 2021 20:17 |
Postal - Port to the Amiga - is there a decent C++ compiler ? | lantus360 | Coders. C/C++ | 12 | 14 August 2020 13:47 |
Native code BCPL compiler for Amiga? | steve_mynott | Coders. Language | 48 | 16 December 2018 19:41 |
amiga c/c++ compiler | Fissuras | request.Apps | 41 | 18 June 2012 20:50 |
Best C Compiler for Amiga is? | Pyromania | Amiga scene | 5 | 14 May 2002 17:17 |
|
|