English Amiga Board


Go Back   English Amiga Board > Coders > Coders. Language > Coders. AMOS

 
 
Thread Tools
Old 16 June 2016, 11:30   #1
Brick Nash
Prototron
 
Brick Nash's Avatar
 
Join Date: Mar 2015
Location: Glasgow, Scotland
Posts: 411
Recommended compiler?

Just wondering if anyone could recommend what is the most favourable compiler for Amos pro?

Thank you!
Brick Nash is offline  
Old 16 June 2016, 12:30   #2
Mrs Beanbag
Glastonbridge Software
 
Mrs Beanbag's Avatar
 
Join Date: Jan 2012
Location: Edinburgh/Scotland
Posts: 2,243
AFAIK there is only one of them, there was a project to fix all the bugs in it though
Mrs Beanbag is offline  
Old 16 June 2016, 12:37   #3
Brick Nash
Prototron
 
Brick Nash's Avatar
 
Join Date: Mar 2015
Location: Glasgow, Scotland
Posts: 411
Oh ok.

I only ask because I found a page which stated that the Amos 'compilers' have been made available suggesting there was more than one but the link it provided was broken. I did also find info on one called Mattathias Basic Compiler which is open source and apparently Amos compatible.
Brick Nash is offline  
Old 16 June 2016, 13:06   #4
Mrs Beanbag
Glastonbridge Software
 
Mrs Beanbag's Avatar
 
Join Date: Jan 2012
Location: Edinburgh/Scotland
Posts: 2,243
interesting, never heard of it before, seems like dead project though
Mrs Beanbag is offline  
Old 16 June 2016, 13:36   #5
Brick Nash
Prototron
 
Brick Nash's Avatar
 
Join Date: Mar 2015
Location: Glasgow, Scotland
Posts: 411
Shame.

I just went with the standard compiler so I'll see how that goes. I just wanted to see if compiling would maybe make everything a bit faster.

Thanks for the replies!
Brick Nash is offline  
Old 16 June 2016, 18:49   #6
Samurai_Crow
Total Chaos forever!
 
Samurai_Crow's Avatar
 
Join Date: Aug 2007
Location: Waterville, MN, USA
Age: 49
Posts: 2,186
Mattathias project started before the AmosPro Compiler went open source. It's only a parser for now but I doubt it will become more than that. The two people involved are working on new compiler infrastructure to improve the Amiga developer landscape.
Samurai_Crow is offline  
Old 16 June 2016, 20:21   #7
kamelito
Zone Friend
 
kamelito's Avatar
 
Join Date: May 2006
Location: France
Posts: 1,801
@Samurai Crow

Care to say more?
Kamelito
kamelito is offline  
Old 17 June 2016, 01:23   #8
Samurai_Crow
Total Chaos forever!
 
Samurai_Crow's Avatar
 
Join Date: Aug 2007
Location: Waterville, MN, USA
Age: 49
Posts: 2,186
Quote:
Originally Posted by kamelito View Post
@Samurai Crow

Care to say more?
Kamelito
Not yet. Too soon to say.
Samurai_Crow is offline  
Old 17 June 2016, 21:06   #9
Lonewolf10
AMOS Extensions Developer
 
Lonewolf10's Avatar
 
Join Date: Jun 2007
Location: near Cambridge, UK
Age: 44
Posts: 1,924
Quote:
Originally Posted by Brick Nash View Post
I only ask because I found a page which stated that the Amos 'compilers' have been made available suggesting there was more than one
There are several... there's the compiler for AMOS: The Creator (which itself has a few different versions) and then there is one for AMOS Pro.


Quote:
Originally Posted by Samurai_Crow View Post
Not yet. Too soon to say.
I think you've said too much already
Lonewolf10 is offline  
Old 17 June 2016, 21:12   #10
Retro1234
Phone Homer
 
Retro1234's Avatar
 
Join Date: Jun 2006
Location: 5150
Posts: 5,773
Some have said to me Amos the creater creates faster compiled files, I dont know.

Backbone compiles from Workbench (iirc ascii files) so in theory It might be possible to write straight in a Text editor and compile instead of running in Amos I.e skip using the Amos GUI altogether.

Last edited by Retro1234; 17 June 2016 at 21:52.
Retro1234 is offline  
Old 18 June 2016, 04:36   #11
ReadOnlyCat
Code Kitten
 
Join Date: Aug 2015
Location: Montreal/Canadia
Age: 52
Posts: 1,178
Every time you use Backbone, kittens die, so please don't.

There will be replacements, so either be patient, or ... code one, that is a good exercise!
ReadOnlyCat is offline  
Old 18 June 2016, 15:44   #12
idrougge
Registered User
 
Join Date: Sep 2007
Location: Stockholm
Posts: 4,332
The AMOS Pro compiler can be used from the CLI; it's documented in the official manual.
idrougge is offline  
Old 18 June 2016, 15:48   #13
Retro1234
Phone Homer
 
Retro1234's Avatar
 
Join Date: Jun 2006
Location: 5150
Posts: 5,773
If theres a syntax error etc does the compiler tell you what line? it may be possible to come up with a better GUI so all programs are compiled rather than interpreted.
Retro1234 is offline  
Old 20 June 2016, 19:36   #14
Lonewolf10
AMOS Extensions Developer
 
Lonewolf10's Avatar
 
Join Date: Jun 2007
Location: near Cambridge, UK
Age: 44
Posts: 1,924
I have never had a syntax error in a program that I compile, because I usually test them in the editor/interpreter beforehand. AMOS Pro's compiler does allow you to include or exclude error messages as you desire, so it probably doesn't check for syntax errors. I shall test this shortly.

Edit: Just tested it with the Screen Open instruction, and the AMOS Pro compiler does indeed highlight syntax errors. It tells you the line and the instruction which is the cause of the error

Last edited by Lonewolf10; 20 June 2016 at 19:47.
Lonewolf10 is offline  
Old 20 June 2016, 22:14   #15
Retro1234
Phone Homer
 
Retro1234's Avatar
 
Join Date: Jun 2006
Location: 5150
Posts: 5,773
I dont know what language would be suitable to make such a GUI Text editor, something very light weight maybe something like AmigaBasic to make a very simple text editor interface like the one used in Blitz. Then like you say the complier can give you the line of a error add a option to run and compile redirect any text ouptut from the compiler to >> Ram: then to the GUI - only a idea.
Retro1234 is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Recommended Atari Emulators? MethodGit Retrogaming General Discussion 53 29 December 2014 22:47
Recommended Books Bulkins New to Emulation or Amiga scene 2 14 September 2011 12:33
What are the recommended settings for ASM-One? MethodGit Coders. General 1 05 November 2010 15:48
Recommended games on the CD32? Benighted Retrogaming General Discussion 31 09 November 2009 15:03
Recommended games Daz@Retro Gamer Amiga scene 17 22 February 2009 18:20

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 02:43.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.34787 seconds with 13 queries