Hi, I have been following Editra for a couple of years now and haven't posted until now.

I was wondering if Editra could be setup to program in BaCon? It is a BASIC language but needs an editor for the Mac platform. People have tried to port the smalIDE to OS X but it doesn't really work that well. You program in BASIC and then it will convert it to "C" using Korn and then the GCC compiler in the OS X dev pack.

The developer is a really nice guy but uses Linux and doesn't have access to a Mac. I have been running it in Mint Linux in a VBox for now but would like to run it natively. I understand that you can't do much about Korn but maybe I can work up a script to do that part or con some one better than me to make a widget for it.

Any help would be great but I understand that very few people use BASIC any more so do what will get you the most user to get Editra a bigger audience first.

konaexpress wrote:Hi, I have been following Editra for a couple of years now and haven't posted until now.

I was wondering if Editra could be setup to program in BaCon? It is a BASIC language but needs an editor for the Mac platform. People have tried to port the smalIDE to OS X but it doesn't really work that well. You program in BASIC and then it will convert it to "C" using Korn and then the GCC compiler in the OS X dev pack.

Depending upon the language constructs it should be pretty easy to do. Links to documentation / sample code?

konaexpress wrote:The developer is a really nice guy but uses Linux and doesn't have access to a Mac. I have been running it in Mint Linux in a VBox for now but would like to run it natively. I understand that you can't do much about Korn but maybe I can work up a script to do that part or con some one better than me to make a widget for it.

What are you looking for exactly? Do you just want Editra to be able to highlighting or are you talking about something else? A little confused by the above.

konaexpress wrote:Any help would be great but I understand that very few people use BASIC any more so do what will get you the most user to get Editra a bigger audience first.

Best Regards -John

Editra already supports BASIC, so if the language is BASIC it may just be a matter of configuring the file associations in the preferences dialog. What file exentsions are commonly used? If you manually select the BASIC lexer from the Tools menu does it highlight correctly?

Sorry, I mis-spoke Editra has a Visual Basic lexer not sure how much different it is but still probably worth a try.

1) Tools->Lexers->Customize2) Select Visual Basic Lexer in list on left3) Click button to move it to list on right4) Ok5) Select Visual Basic from the menu when a file you want to test out is open.

OR

Have Editra automatically turn on the highlighting (if it looked good enough from above test)

1) Preferences=>Document=>Syntax Highlighting2) Find Visual Basic lexer in the list3) Click on the cell on the right column to edit the associated extensions4) Add the file extensions used by your files you want highlighted with the lexer5) Close dialog6) Now Editra will automatically apply the lexer to all files with that extension upon opening them.

So it looks like that lexer can probably do the job. Only question would be to see if there are some differences in keywords or not that may need to be handled differently. Looks like NUMBER and PRINT are probably a few keywords in BaCon that are not in Basic?