Oforth V0.9.23 is released

Oforth news and releases

Oforth V0.9.23 is released

Postby Franck » 05 Feb 2016 00:33

Oforth V0.9.23 is a major step to V1.0.

Objective is to write Oforth compiler/interpreter into Oforth itself.

Warning : for this step, it was mandatory to break compatibily with previous versions :
1) Order of parameters declaration has been inverted : order used now is the order of the parameter stack (see tutorial 1 for details). This means that Oforth code that defines word with 2 or more parameters declared must be check and corrected if necessary.

For instance :
Code: Select all
>: t(a, b) a b - ;
>10 4 t .
6 ok
>t(10, 4) .
6 ok


2) { and } are now dedicated to JSON objects and cannot be used to declare words body. Only : ... ; syntax is accepted now.

Sorry for that...

Now, the big work of this version is oforth compiler/interpreter
words that are now mostly written is Oforth itself.

There is still some work to do to achieve this, but, now, Oforth loads 2
new files at startup :
- asm.of : this file defines assembler words and basic tools.
- prelude.of : this file defines core words.

(all files launched at startup are listed into oforth.of file)

Have fun,

Franck
Franck
 
Posts: 155
Joined: 29 Oct 2014 19:01

Re: Oforth V0.9.23 is released

Postby Franck » 07 Feb 2016 15:48

Oforth V0.9.23.1 has been released in order to fix 3 bugs :

1) It was not possible to launch Oforth for outside the install directory (oforth.of file not found).

2) Output error on Mac OS X system.

3) seqEach didn't have proper interaction with the stack after changing parameter order. Should be : aRunnable n seqEach
For instance :
Code: Select all
0 #+ 10 seqEach .
55 ok


Franck
Franck
 
Posts: 155
Joined: 29 Oct 2014 19:01


Return to Announcements

Who is online

Users browsing this forum: No registered users and 1 guest

cron