Click Here
home features news forums classifieds faqs links search
6071 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
» Home
» Features
» News
» Forums
» Classifieds
» Links
» Downloads
Extras
» OS4 Zone
» IRC Network
» AmigaWorld Radio
» Newsfeed
» Top Members
» Amiga Dealers
Information
» About Us
» FAQs
» Advertise
» Polls
» Terms of Service
» Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
22 crawler(s) on-line.
 107 guest(s) on-line.
 1 member(s) on-line.


 matthey

You are an anonymous user.
Register Now!
 matthey:  3 mins ago
 RobertB:  30 mins ago
 ktadd:  40 mins ago
 Rob:  43 mins ago
 MichaelMerkel:  1 hr 15 mins ago
 zipper:  1 hr 39 mins ago
 amigakit:  2 hrs 10 mins ago
 Hypex:  2 hrs 35 mins ago
 1Mouse:  2 hrs 44 mins ago
 Allanon:  2 hrs 49 mins ago

/  Forum Index
   /  Amiga Development
      /  New beta of PortablE (r6, the beginner-friendly release)
Register To Post

Goto page ( 1 | 2 | 3 | 4 | 5 Next Page )
PosterThread
ChrisH 
New beta of PortablE (r6, the beginner-friendly release)
Posted on 28-Oct-2011 11:08:19
#1 ]
Elite Member
Joined: 30-Jan-2005
Posts: 6679
From: Unknown

I have uploaded a new PortablE beta of my modernised AmigaE programming language. There have been a HUGE amount of changes since the last beta in April, but biggest changes are:

* Fully tested on AROS & MorphOS (in addition to AmigaOS4), so all the examples now run smoothly & stably. Please download some of the already compiled examples & try them out

* Programs now compile on Icaros v.1.3.x, although an AROS bug in Icaros v1.3.0 to v1.3.2 means that the graphical examples won't look good. Icaros v1.3.3 should fix that.

* The GUI module (std/cGui) now supports basic scrollable lists & pictures in buttons (see here for an example), plus many bug fixes.

* The graphics module (std/cGfx) now supports resizable windows, can draw circles, and has been heavily fixed & speeded-up for AROS & MorphOS.

* Added basic networking support for AmigaOS4, which is compatible with AmigaE.

* Added the "Debug" switch to PEGCC, which makes debugging on OS4 much easier. PEGCC also behaves better.

* The sound & music modules (std/cSnd & std/cMusic) now gracefully handle the lack of AHI sound, instead of crashing!

* OPT MULTITHREADED should now be properly thread-safe, especially FastNew/NEW/etc.

* A large number of fixes & tweaks to various things, plus added a couple more Amiga modules, and some missing OS4 functions.


You can download the latest beta of PortablE here.

Some screenshots to show what PortablE is capable of in a relatively small amount of code:



As a reminder, in February I released a "full preview" of the next version of the PortablE programming language. It is now aimed at beginners & those new to the E language. Previous releases of PortablE were aimed at existing AmigaE users, and those familiar with AmigaOS programming. But after more than a year of development, PortablE became much easier for beginners to pick-up & play with:

* It now comes with some nice modules for graphics, sound, music & GUIs. These require no knowledge of AmigaOS programming, and were inspired by the simplicity of BASIC languages like AMOS.

* It comes with full documentation for all of these modules, along with smaller & bigger examples. There is also an official PortablE forum.

* The documentation has been revamped to be more beginner friendly, and the PortablE installer has been made easier to use. If you still get stuck, then let me know, and I will see what I can do


* In addition to that, I have made available a large collection of my own useful modules (in the CSH folder), which you can use if you want. These are not properly documented yet, but I will look at documenting them where there is interest.

* As usual it supports Amiga OS4, OS3, AROS, MorphOS & Windows. However (1) the new modules do not yet work on Windows, and (2) the new graphics module does not yet work on Amiga OS3.

Last edited by ChrisH on 28-Oct-2011 at 03:29 PM.

_________________
Author of the PortablE programming language.
It is pitch black. You are likely to be eaten by a grue...

 Status: Offline
Profile     Report this post  
Kicko 
Re: New beta of PortablE (r6, the beginner-friendly release)
Posted on 28-Oct-2011 13:57:00
#2 ]
Elite Member
Joined: 19-Jun-2004
Posts: 5009
From: Sweden

Sounds interesting. Too bad i dont code otherwise i would let it a try.

 Status: Offline
Profile     Report this post  
mpiva 
Re: New beta of PortablE (r6, the beginner-friendly release)
Posted on 28-Oct-2011 18:10:54
#3 ]
Regular Member
Joined: 3-Aug-2005
Posts: 202
From: Alberta, CAN

@Kicko

Quote:

Kicko wrote:
Sounds interesting. Too bad i dont code otherwise i would let it a try.


Then it's a perfect time to start learning.

Quote:
It is now aimed at beginners & those new to the E language.


 Status: Offline
Profile     Report this post  
ChrisH 
Re: New beta of PortablE (r6, the beginner-friendly release)
Posted on 30-Oct-2011 12:37:26
#4 ]
Elite Member
Joined: 30-Jan-2005
Posts: 6679
From: Unknown

@mpiva Quote:
Then it's a perfect time to start learning.

I won't argue

_________________
Author of the PortablE programming language.
It is pitch black. You are likely to be eaten by a grue...

 Status: Offline
Profile     Report this post  
Hypex 
Re: New beta of PortablE (r6, the beginner-friendly release)
Posted on 30-Oct-2011 13:19:04
#5 ]
Elite Member
Joined: 6-May-2007
Posts: 11215
From: Greensborough, Australia

@ChrisH

Thanks for updating this. A friend was interested in AmigaE and started reading that old CU Amiga E book so I installed PortablE on his system last night. He already had the SDK I found so saved me some time there.

I know it's aimed at programmrers but I have a few suggestions.

1.) The installer: It would be nice if it used system requesters instead of a console window but I think it should install itself into its own directory. I made a "Development" directory for it and then found it had just copied all it's files there. If I hadn't made it the parent directory would be a mess! Apart from that it didn't install the docs and examples. So I think having the whole pachage together in it's own directory would be the go.

2.) Examples: I found there were no executables and it would have been nice to see what the code does straight away. Okay this does increase size and it is multi-platform but it does help people to get started.

3.) Beginners: You make a point about beginners but some people like my friend are not only beginners to AmigaE but programming in general. So I think it would be good to include a few icons that can compile code and such like. An editor would be good. But a good start would be an icon that runs a script included that sets up a new project. This would do something like creating a directory for the project after asking for a name, then create icons to bring up an editor for the main E code and a compile icon.

What do you think?

Last edited by Hypex on 30-Oct-2011 at 01:24 PM.

 Status: Offline
Profile     Report this post  
Templario 
Re: New beta of PortablE (r6, the beginner-friendly release)
Posted on 30-Oct-2011 15:31:17
#6 ]
Elite Member
Joined: 22-Jun-2004
Posts: 3663
From: Unknown

@Kicko

+1 as always that you posted.
You can learn Portable or other languages.

 Status: Offline
Profile     Report this post  
ChrisH 
Re: New beta of PortablE (r6, the beginner-friendly release)
Posted on 5-Nov-2011 13:03:08
#7 ]
Elite Member
Joined: 30-Jan-2005
Posts: 6679
From: Unknown

I have now released three more examples:

Example 12: Clock.e (click this line)


Example 13: Mandel.e (click this line)


Example 14: Pythagoras.e (click this line)

_________________
Author of the PortablE programming language.
It is pitch black. You are likely to be eaten by a grue...

 Status: Offline
Profile     Report this post  
RodTerl 
Re: New beta of PortablE (r6, the beginner-friendly release)
Posted on 5-Nov-2011 14:27:25
#8 ]
Cult Member
Joined: 6-Sep-2004
Posts: 589
From: Rossendale

Yaay.. Mandy bro 8).. the third programming example 8)

If I were to make just one alteration to it.. where you have

_________________
The older and more respected a scientist is, the longer it takes to prove him wrong.

 Status: Offline
Profile     Report this post  
ChrisH 
Re: New beta of PortablE (r6, the beginner-friendly release)
Posted on 13-Nov-2011 11:00:32
#9 ]
Elite Member
Joined: 30-Jan-2005
Posts: 6679
From: Unknown

I have now released two more examples:

Example 15: StarsXY_ToySpaceshipSprite1.e (click this line)


Example 16: StarsZYX_ToySpaceshipSprite1.e (click this line)

Last edited by ChrisH on 26-Nov-2011 at 02:42 PM.

_________________
Author of the PortablE programming language.
It is pitch black. You are likely to be eaten by a grue...

 Status: Offline
Profile     Report this post  
ChrisH 
Re: New beta of PortablE (r6, the beginner-friendly release)
Posted on 26-Nov-2011 14:22:54
#10 ]
Elite Member
Joined: 30-Jan-2005
Posts: 6679
From: Unknown

I have now released two more examples:

Example Example 17: IfsFern.e (click this line)


Example Example 18: cosmic_deluxe.e (click this line)

Last edited by ChrisH on 26-Nov-2011 at 02:48 PM.
Last edited by ChrisH on 26-Nov-2011 at 02:37 PM.

_________________
Author of the PortablE programming language.
It is pitch black. You are likely to be eaten by a grue...

 Status: Offline
Profile     Report this post  
AmigaMac 
Re: New beta of PortablE (r6, the beginner-friendly release)
Posted on 26-Nov-2011 15:38:01
#11 ]
Super Member
Joined: 26-Oct-2002
Posts: 1097
From: 3rd Rock from the Sun!

@ChrisH

I hate to ask a dumb question, but...

Do you have an IDE built around this or is this BYODT (Bring Your Own Developer Tools)?

_________________

 Status: Offline
Profile     Report this post  
ChrisH 
Re: New beta of PortablE (r6, the beginner-friendly release)
Posted on 26-Nov-2011 16:02:42
#12 ]
Elite Member
Joined: 30-Jan-2005
Posts: 6679
From: Unknown

@AmigaMac
I don't see the need for an IDE ! After it is installed, you can compile a program from the Shell by just typing:

PEGCC yourProgram.e


If there are any errors, then it will tell you the line number, show you the line, and even highlight the relevant part of the line (all from the Shell I might add!). Finding that line in your editor is just a case of telling it to jump to line number N.


If there were no errors then you can run it by just typing:

yourProgram


And while I use a plain text editor (CygnusEd 5), if you want syntax highlighting then Annotate fits the bill.


I don't really see that an IDE would give much advantage, but (free) IDEs tend to be slow & buggy in my experience... In short, I prefer to keep it as simple as possible , so there is little that can go wrong & there are no complex IDEs to get in your way!

Last edited by ChrisH on 26-Nov-2011 at 04:04 PM.

_________________
Author of the PortablE programming language.
It is pitch black. You are likely to be eaten by a grue...

 Status: Offline
Profile     Report this post  
RodTerl 
Re: New beta of PortablE (r6, the beginner-friendly release)
Posted on 26-Nov-2011 16:20:55
#13 ]
Cult Member
Joined: 6-Sep-2004
Posts: 589
From: Rossendale

How complex would it be to use menu alteration, addition methods, to add program run, compile, debug options to the menus of various text editors such as CED, Ed, Emacs etc?

Which text editors have updatable spell checkers and, or term highlighters, so that not only can code be highlighted, but by using a scan, the dictionary giving the least number of spelling werrors is likely to be that programming language?

Could spellcheck hint functions be rerigged for code completion options, using a perproject dictionaryof variables and constants integrated with the suggested code completion so you dont have to keep typing so much code in?

Using a text editor, via Locale datatypes, would it be possible to create code completion spell checkers that can create code in one human readable language, but store, compile it in a nonspecific variable name style, so that someone reading teh source code in a different language, would read teh names of the variables etc in that language?

on.button.select(STOP):Die

_________________
The older and more respected a scientist is, the longer it takes to prove him wrong.

 Status: Offline
Profile     Report this post  
carvedeye 
Re: New beta of PortablE (r6, the beginner-friendly release)
Posted on 26-Nov-2011 22:34:01
#14 ]
Member
Joined: 5-Sep-2010
Posts: 63
From: Newcastle Upon Tyne (UK)

@ChrisH

I really want to get into coding for the amiga and think ive found what im looking for which is PortablE but do i need to get an SDK of sort or is everything i need already implemented in it?

 Status: Offline
Profile     Report this post  
Samurai_Crow 
Re: New beta of PortablE (r6, the beginner-friendly release)
Posted on 27-Nov-2011 1:47:34
#15 ]
Elite Member
Joined: 18-Jan-2003
Posts: 2320
From: Minnesota, USA

@carvedeye

Amiga-likes can use MUI directly but for generating truly portable code, there is a special set of foundation classes that will someday be used on all platforms.

 Status: Offline
Profile     Report this post  
carvedeye 
Re: New beta of PortablE (r6, the beginner-friendly release)
Posted on 27-Nov-2011 11:43:22
#16 ]
Member
Joined: 5-Sep-2010
Posts: 63
From: Newcastle Upon Tyne (UK)

@Samurai_Crow

So i only need PortablE and nothing else ? So I just put it on my hdd and can start coding?
If that's the case then I will definitely be coding in the E language :)

 Status: Offline
Profile     Report this post  
mrdarek 
Re: New beta of PortablE (r6, the beginner-friendly release)
Posted on 27-Nov-2011 13:13:13
#17 ]
Member
Joined: 16-Feb-2011
Posts: 86
From: Poland

@RodTerl

We really no need IDE. Annotate coloring keywords - it can't coloring defined procedure names or can't show where loops are start and where end (with diagonal lines...).

I don't like auto-completion features so it good that is not exist. I no need button "RUN" in IDE - shell is sufficient.

For full job we need Annotate - editor, opened shell with entered path for recompilation, iconized OWB with PortablE documentation.

All spell checks are executed during compilations.

We have much more then only ready for use language - we have nice PortablE forum with great support author!

 Status: Offline
Profile     Report this post  
ChrisH 
Re: New beta of PortablE (r6, the beginner-friendly release)
Posted on 27-Nov-2011 14:01:41
#18 ]
Elite Member
Joined: 30-Jan-2005
Posts: 6679
From: Unknown

@carvedeye
The short answer is that PortablE *does* require the official SDK to be installed, before it is able to create an executable from source code. To quote my Installation_Amiga.txt file:
Quote:
* AmigaOS4 users should install OS4's SDK, which can be found here:
ftp://hyperion-entertainment.biz/SDK/

* AROS users should ensure they install GCC along with AROS. Icaros Desktop
Live (NOT Light!) has the option of installing GCC.

* MorphOS users should install the MorphOS Software Development Kit, which is
available from here:
http://www.morphos-team.net/downloads.html

* AmigaOS3 users should install Geek Gadgets. Installation is a bit fiddly, but you can find it here:
http://geekgadgets.back2roots.org/
http://geekgadgets.back2roots.org/docs/GG_6.html#SEC20

(Alternatively you could use AmiDevCpp on Windows to compile the C++ code
generated by PortablE.)


EDIT: Hmmm, it seems that the AmigaOS4 SDK is no-longer downloadable from their FTP site for some reason. But you can get it here instead:
http://hyperion-entertainment.biz/index.php?option=com_registration&view=files&parent=30&Itemid=63
(I will re-upload PortablE with the revised instructions.)

Last edited by ChrisH on 27-Nov-2011 at 02:06 PM.
Last edited by ChrisH on 27-Nov-2011 at 02:05 PM.

_________________
Author of the PortablE programming language.
It is pitch black. You are likely to be eaten by a grue...

 Status: Offline
Profile     Report this post  
carvedeye 
Re: New beta of PortablE (r6, the beginner-friendly release)
Posted on 27-Nov-2011 16:18:24
#19 ]
Member
Joined: 5-Sep-2010
Posts: 63
From: Newcastle Upon Tyne (UK)

@ChrisH

Thanks ChrisH, so i need to install both of them but does it matter wehre i install them or as long as they are both in the same partiton/directory?

 Status: Offline
Profile     Report this post  
mrdarek 
Re: New beta of PortablE (r6, the beginner-friendly release)
Posted on 27-Nov-2011 16:54:58
#20 ]
Member
Joined: 16-Feb-2011
Posts: 86
From: Poland

@carvedeye

For SDK and PortablE best using default installator suggestion. Annote you can instal anywhere.

 Status: Offline
Profile     Report this post  
Goto page ( 1 | 2 | 3 | 4 | 5 Next Page )

[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle