Page 36 of 39

Heads up for breaking change in next version

Posted: Mon Nov 27, 2023 12:49 am
by desertfish
:!: A little notification in advance that the next Prog8 version will contain a breaking change in the IRQ handling routines.

sys.set_irq() and sys.set_rasterirq() no longer have useKernal parameter! The irq handler routine must return a boolean instead in the A register.

This change is for all target platforms and makes it easier to determine when the system IRQ handler routine should run or not.

(In addition, only for the X16, there will be a new specialized IRQ handler that makes dealing with multiple IRQ sources a lot easier. If you chose to not use this one and want to stick to the old one instead, you still have to change your code a little to conform to the new semantics.)

Re: Prog8 language and compiler topic

Posted: Tue Nov 28, 2023 10:36 pm
by yock1960
We (I) need structs/records.... :D . To make my current project a little easier. Oh, and recursion! :lol:

Version 9.7 released

Posted: Sun Dec 10, 2023 4:28 pm
by desertfish
:!: Prog8 version 9.7 has been released. https://github.com/irmen/prog8/releases/tag/v9.7

It's a substantial release that brings many new features and bugfixes.
Also as already mentioned there are a few incompatible changes so please read the release notes on Github thorougly :mrgreen:

(reminder: the documentation is here https://prog8.readthedocs.io/en/latest/ )

Re: Prog8 language and compiler topic

Posted: Sun Dec 10, 2023 5:04 pm
by mgkaiser
yock1960 wrote: Tue Nov 28, 2023 10:36 pm We (I) need structs/records.... :D . To make my current project a little easier. Oh, and recursion! :lol:
Recursion not happening, likely. For structs look here: https://github.com/mgkaiser/P8Test

I'm working a number of useful thing. structs are among them...

Re: Prog8 language and compiler topic

Posted: Mon Dec 11, 2023 4:05 am
by yock1960
mgkaiser wrote: Sun Dec 10, 2023 5:04 pm
yock1960 wrote: Tue Nov 28, 2023 10:36 pm We (I) need structs/records.... :D . To make my current project a little easier. Oh, and recursion! :lol:
Recursion not happening, likely. For structs look here: https://github.com/mgkaiser/P8Test

I'm working a number of useful thing. structs are among them...
Recursion of a subroutine with no parameters isn't a problem, if you manage the push/pop to an independent area of memory yourself.

I also have a workaround, a structs-like construct, using arrays inside a block. Access syntax is very similar. They're not dynamic, but I don't need them to be.

Re: Prog8 language and compiler topic

Posted: Mon Dec 18, 2023 8:07 pm
by oodler
desertfish wrote: Mon Aug 31, 2020 8:52 pm /index.php?/profile/860-geek504/&do=hovercard" data-mentionid="860" href="/index.php?/profile/860-geek504/" rel="">@geek504 Hi glad you asked, lets answer this here ?
Prog8 the language itself is essentially a C like langue but with heavy Python influences because I really like Python.
Thank you for this language, it is awesome for me. I know you say it was heavily influenced by Python, but I like it because it tickles the part of my brain that loves Perl.

upcoming release

Posted: Tue Jan 16, 2024 12:50 am
by desertfish
:!: Prog8's next release is nearing completion. It will be a MASSIVE update with lots of stuff. A warning: there are going to be a few incompatible changes once again, for instance in the way prog8 symbols are named in the generated assembly code. I always try to keep stuff compatible as much as possible but sometimes breaking changes are required.

The release will likely be done somewhere this week. It is advised to upgrade as soon as possible then

Re: Prog8 language and compiler topic

Posted: Wed Jan 17, 2024 9:53 pm
by Bill Leue
You can easily simulate recursion with an explicit stack that you write your own Push and Pop methods. I do this all the time in various language environments where I don't have recursion available.
-Bill

Version 10.0 released

Posted: Fri Jan 19, 2024 8:02 pm
by desertfish
Image

:!: Prog8 version 10 has been released!

Release and detailed release notes are at: https://github.com/irmen/prog8/releases/tag/v10.0

The documentation as always is at: https://prog8.readthedocs.io/

As mentioned before, this is a BIG release and there are a few breaking changes.
Please study the release notes to learn about them (and the other new things ofcourse).

donation possibility

Posted: Sat Feb 03, 2024 10:33 pm
by desertfish
By the way, if you'd like to buy me a coffee or a pizza to keep me going on working on Prog8, you can do so here https://ko-fi.com/irmen

Thanks :P