Welcome, Guest. Please login or register.

Author Topic: The PortablE language goes Beta  (Read 2175 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline ChrisHTopic starter

  • Jr. Member
  • **
  • Join Date: Jun 2007
  • Posts: 92
  • Country: 00
    • Show only replies by ChrisH
    • http://cshandley.co.uk/email
The PortablE language goes Beta
« on: June 25, 2007, 12:08:46 PM »
I thought I should make a small mention that my PortablE programming language has finally gone into Beta testing :-)

What is PortablE?
It is a complete rewrite of the (once very popular) AmigaE programming language.  Unlike traditional compilers it outputs code in C++ or other languages, with all your comments & formatting intact!  It adds many modern new features, such as type checking, while trying to stay fairly backwards compatible.

As the name implies, the aim is to make it portable across many OSes, languages & CPUs, although currently it is limited to OS3 & OS4.  This portability aim means that compatibility with the old AmigaE is not as high as it could be.

You can read the manual here.

What do you mean by Beta?
It has most bugs fixed, certainly all the ones that I could find.  And it is close to being "feature complete", although it still has a few things missing (which I hope will be added sooner rather than later).

Where can I get it?
Please join the AmigaE mailing list, and ask for me for it there:
http://www.freelists.org/list/positron

What are the highlights of PortablE?
Compared to AmigaE, too many to list here!  Even the pretty large manual struggles to cover everything.  But here are a few examples:

* A fully automatic module compiling system, so you don't need any Make files or IDEs!

* Can generate code for both OS3 & OS4.  Support for more OSes to be added later.

* Completely type checked, which makes it much easier for beginners to learn, and also much better for large object orientated projects.  And type checking was really needed for the various kinds of lists, immediate lists, typed lists, copies of lists, strings, e-strings, etc, because before it was very easy to make mistakes.

* The type checking is better than you get in Java or C++, so it should get in your way less.  One reason people liked AmigaE was that it didn't have a type system to annoy you.  I hope to strike a balance between those two extremes!

* Rather better & more accurate error reporting, although I'm sure this can be improved even more.

* Much better support for modern Object Orientation (OOP), if you like that sort of thing (I do!).  And OOP is far easier to learn & use, because of the type checking.

* Fixes lots of silly limitations of AmigaE, e.g. Globals can be declared anywhere, as can objects.  e.g.  RAISE works with user procedures *and* methods.  e.g. You can type NEW 'string' to create an e-string copy.

How do you pronounce PortablE ?!?
You do ask difficult questions!  ;-) While you could say "portable  E", I tend to just say "portable".

It's name was really a play on words, but one I didn't think too hard about how you should pronounce.  We already had "AmigaE" & "CreativE", so "PortablE" was about as far as my dim imagination went!
Author of the PortablE programming language.
It is pitch black. You are likely to be eaten by a grue.
 

Offline ChrisHTopic starter

  • Jr. Member
  • **
  • Join Date: Jun 2007
  • Posts: 92
  • Country: 00
    • Show only replies by ChrisH
    • http://cshandley.co.uk/email
Re: The PortablE language goes Beta
« Reply #1 on: June 25, 2007, 12:09:07 PM »
You can find some old discussions of PortablE here:
http://amigaworld.net/modules/newbb/viewtopic.php?mode=viewtopic&topic_id=18639&forum=15
http://amigaworld.net/modules/news/article.php?storyid=3202&order=0#41488

And I have made the manual available in several other formats:
PortablE.pdf  (PDF format)
PortablE.odt (Open Office format)
PortablE.doc (MS Word format)
Author of the PortablE programming language.
It is pitch black. You are likely to be eaten by a grue.
 

Offline ChrisHTopic starter

  • Jr. Member
  • **
  • Join Date: Jun 2007
  • Posts: 92
  • Country: 00
    • Show only replies by ChrisH
    • http://cshandley.co.uk/email
Re: The PortablE language goes Beta
« Reply #2 on: June 25, 2007, 10:30:24 PM »
Hmmm, I guess there aren't too many AmigaE fans here?  Or they are a very quiet bunch?!
Author of the PortablE programming language.
It is pitch black. You are likely to be eaten by a grue.
 

Offline lopos

  • Sr. Member
  • ****
  • Join Date: Mar 2005
  • Posts: 250
    • Show only replies by lopos
Re: The PortablE language goes Beta
« Reply #3 on: June 25, 2007, 10:38:56 PM »
Quote

ChrisH wrote:
Hmmm, I guess there aren't too many AmigaE fans here?  Or they are a very quiet bunch?!

Maybe you should try EAB. Loads of coders are on this board.
 

Offline Amigamia

  • Sr. Member
  • ****
  • Join Date: Jun 2005
  • Posts: 252
  • Country: us
    • Show only replies by Amigamia
    • http://www.arosworld.org
Re: The PortablE language goes Beta
« Reply #4 on: June 26, 2007, 02:14:01 AM »
Port PortablE to AROS!!!!!!!!!!  :-D I WOULD LOVE to SEE it working on AROS.
Check out  AROSWORLD.ORG
 

Offline weirdami

  • Hero Member
  • *****
  • Join Date: Jan 2003
  • Posts: 3776
    • Show only replies by weirdami
    • Http://Bindingpolymer.com
Sheeeeeeeep!
« Reply #5 on: June 26, 2007, 03:14:14 AM »
Is this a baaad time to ask what ever happened to SHEEP?
----
Binding Polymer: Keeping you together since 1892.
 

Offline Pyromania

  • Sent from my Quantum Computer
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 1820
  • Country: 00
  • Thanked: 6 times
    • Show only replies by Pyromania
    • http://www.discreetfx.com
Re: The PortablE language goes Beta
« Reply #6 on: October 19, 2007, 05:26:59 AM »
ChrisH this is great news, I just heard about it today.
 

Offline ChrisHTopic starter

  • Jr. Member
  • **
  • Join Date: Jun 2007
  • Posts: 92
  • Country: 00
    • Show only replies by ChrisH
    • http://cshandley.co.uk/email
Re: The PortablE language goes Beta
« Reply #7 on: February 15, 2008, 08:06:19 PM »
Just to let you know that the second Beta of PortablE has been released on the AmigaE mailing list.  The biggest changes are:


* Most bugs have been fixed, as PortablE is now able to correctly compile all 50,000 lines of itself to both C++ & AmigaE code.  So I now use PortablE instead of AmigaE :-)

* An AmigaOS 4 PPC native version is now supplied (3x faster than 68k version).

* Now supports all v45/v52 modules for Devices, Diskfont, Dos, Exec, Graphics, Intuition, Resources, Utility, and part of Other.

* Improved AmigaE compatibility mode, by totally disabling the type checking.

* The generated C++ code now compiles without any warnings.

* You can use assignments/etc within ELSE IF expressions. (By popular demand!)

* FastNew() & FastDispose() are implemented like AmigaE did, so they are very fast, and this means NEW, END, NewString() & DisposeString() are also very fast.

* You no-longer need any [square brackets] after END array, and in fact giving the size of an array is now disallowed (although an empty [] is fine).

* Added PrintFlush(), which when combined with Print() is better than the problematic mixing of PrintF() & WriteF().

* You no-longer need to use pointer arithmetic with StrCopy() or StrAdd(), thanks to the optional position parameter that has been added.

* The word "static" is no-longer used in a potentially confusing way.  Thanks to Leif Salomonsson for pointing this out.

* Some warnings & errors now offer practical guidance, thus reducing the need to refer to the manual.

* Reduced memory usage, and many more small improvements!

* You must use a stack of 100KB, now that PortablE is compiled with GCC.

You can find the complete list of changes in the History chapter at the end of manual.
Author of the PortablE programming language.
It is pitch black. You are likely to be eaten by a grue.