Login
Username:

Password:

Remember me



Lost Password?

Register now!
Main Menu
Who's Online
3 user(s) are online (3 user(s) are browsing News)

Members: 2
Guests: 1

Kalamatee, LuKeJerry, more...
Last Replied Topics
Development tools : PortablE r6 beta released
Posted by PortablE on 2016/4/29 4:09:30 (1148 reads)
Development tools

Click to see original Image in a new window
PortablE is a recreation of the AmigaE programming language, along with all the improvements I wanted.

This is a small update, which makes any generated MUI code human-readable, and fixes a few bugs.
.

Previous versions of PortablE were aimed at existing AmigaE users, but PortablE now aims to be attractive for new users too. Although it's still "beta", it should work well, and further incompatible changes seem unlikely.

See the main manual for everything that has changed since r5. There have been the following big changes since the last beta:
* Built-in procedures can now support unlimited parameters (although only some have been updated to use this ability).
* Improved MUI modules to use procedures with unlimited parameters (instead of immedate tag lists). So the C/C++ code generated for GUIs is now human-readable!
* Added the NoListOptim switch, so that the code generated for Immediate Lists can be more human-readable.
* When a bug exception was thrown during compilation, it could give the wrong message. Now fixed.
* Fixed a few module bugs.

You can download it from here:
Aminet
OS4Depot

PortablE comes with documentation, but you can find on-line documentation, examples & the latest version of PortablE from it's homepage:
cshandley.co.uk/portable

Rating: 9.00 (1 vote) - Rate this News -
Printer Friendly Page Send this Story to a Friend Create a PDF from the article
The comments are owned by the author. We aren't responsible for their content.

Author Thread
aha
Published: 2016/5/2 1:23  Updated: 2016/5/2 1:23
Joined: 2006/4/7
From:
Comments: 608
 Re: PortablE r6 beta released
Thank you for your efforts! Do you have an example for "makes any generated MUI code human-readable"? What do you mean? The PortableE-Code for MUI objects is human-readable?

Author Thread
PortablE
Published: 2016/5/2 2:45  Updated: 2016/5/2 2:47
Joined: 2008/3/15
From: England
Comments: 632
 Re: PortablE r6 beta released
@aha
The way PortablE works is that it takes your E code, and generates C++ code, which is then USUALLY given to GCC to create an executable.

But PortablE does something very unusual when generating the C++ code: It preserves the comments & indentation (etc) present in the original E code (as far as possible). This means that it is normally possible for a human to read the generated C++ code, and find it not too much harder to understand than the original E code.

(So potentially you could use PortablE to convert an E program to C++, or maybe use E code as part of a C/C++ program (although that would be more difficult), or perhaps show your E program to someone only familiar with C/C++, or some other use I haven't thought of!)

There WAS one big exception to this though: MUI code. Because traditionally AmigaE (and thus PortablE) used MUI macros which worked quite differently to those you use with normal C code, as it used a feature that C does not have. Which for PortablE meant the generated C++ code was quite different to normal C code (and in fact pretty unreadable).

What I have now done is add a feature to PortablE (which AmigaE did not have), which allows it's MUI macros to work the same way as they do in C code. And the end-result is that the generated C++ code looks very similar to what you'd see in normal C code. So now PortablE generates human-readable C++ code for almost any E program you may throw at it, even if that program uses MUI

Author Thread
aha
Published: 2016/5/2 4:10  Updated: 2016/5/2 4:10
Joined: 2006/4/7
From:
Comments: 608
 Re: PortablE r6 beta released
Ah, I understand. Thank you! And keep up the good work!

Author Thread
Published: 2017/2/4 1:07  Updated: 2017/2/4 1:07
Joined:
From:
Comments:
 Re: PortablE r6 beta released
Search
Top Posters
1 paolone
paolone
4207
2 magorium
magorium
4095
3 phoenixkonsole
phoenixkonsole
3877
4 nikolaos
nikolaos
3637
5 deadwood
deadwood
2921
6 ncafferkey
ncafferkey
2528
7 mazze
mazze
2199
8 clusteruk
clusteruk
2055
9 Kalamatee
Kalamatee
1960
10 damocles
damocles
1789
© 2004-2014 AROS Exec