PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

0.2 beta next week

I would just like to give you guys an update on 0.2 beta.

There is quite a lot of fixes in the parser and compile and new stuff in this new version. The editor will be enhanced quite a bit and I am developing a console program which should appear in this version.

It will also include a new FOREACH() instruction that will be quite smart. It can accept linked-list. It will iterate through each element of a list.

Code:
strtolist("A:B:C:D:E:F:G", ":", list$);
ForEach(list$)
ShowMessage(list$);
end;

There is also a new operator # for ascii character. Ex:

Code:
ShowMessage("Line1"+#13#10+"Line2"+#13#10+"Line3");


It should all be ready early next week.

Oh and I almost forgot, a VERY EARLY version of the PIDE (PPL IDE) for the desktop will be included. Most of it doesn't work yet but the syntax-highlighting is there! :D

Regards,
Kornalius
Oh, I forgot, I am also working on passing variable pointers to proc or func parameters. It will support all sorts of things, including arrays, linked-lists, structures and elements from these types too. ex: &a;$[10].

Ex:

Code:
proc test (x$)
x$ = 10;
end;

proc main
test(&x;$);
ShowMessage(x$);
end;


Still debugging all of this, but so far it looks like it's going to make it for the next release.

Regards,
Kornalius
Ok, here is a little update:

I made good progress today on a lot of issues. The most important was finishing the proc/func parameters pointers, which is fixed now. I also wrote a new component demo to show how to create custom classes with PPL.

Now I have to work on allowing variables to point to other variables:

ex: &a;$ = v$

And finally, I will update the editor to allow for Compiling and being able to see the last compiling errors at all time.

Regards,
Kornalius
Here is a little update:

    -PIDE (PPL IDE) for desktop is fully working.
    -Enhancements to the PPL editor. (PPC).
    -Variable pointers assignment is working. Ex: &a;$ = v$;
    -Variable pointers allowed in procedure and function's parameters.
    -ForEach loop statement for linked-list.
    -Way more stable than v0.1a. Many bugs fixed.
    -And a lot more...


Concerning passing pointers to procedures and functions, I didn't test the passing of array elements yet. I don't know if I am going to be able to make it work at this point. Time will tell I guess. Certainly a feature to work for the next version.

Version 0.2 beta is due this Friday.

Regards,
Kornalius