Author Topic: May 2021  (Read 81 times)

Malkom

  • Administrator
  • Newbie
  • *****
  • Posts: 415
  • Here to help you
May 2021
« on: May 31, 2021, 03:04:03 PM »
Here is a brief progress report on HN5 development for the month of May 2021.

The aim is to get the Chart demo project running inside HN5 Creator IDE.

The development is being carried out on a Windows 7 x64 machine with regular testing of HN5 on Linux(Ubuntu) and OS X.

Regarding OS X, there are still some runtime errors caused by file system problems but not enough time left to resolve them.

The development language is Free Pascal which should ensure HN5 will be able to run on a variety of older and newer Operating Systems.
The main targets being Windows, Linux and OS X.


HN5 CREATOR GUI

(1) Compiler

The HN5  compiler can now fully convert the Chart project's scripts into pCode for execution by the Runtime Engine.

The compiler actually identifies 328 lines of code in the Chart project's script, but these include blank lines, comments, and handler headings etc. The actual number of actual lines as entered by me when creating the Chart project are probably far less than half this. The other lines of the 615 indicated are related to how procedures etc are stored and converted into pCode.

Note,
The compiler window is normally hidden.
Also, the compiler treats each script in a button or other handler as self-contained and therefore carries out the 3 passes on them.


The compiler can currently compile all the maths, control statements such as For While If-Then etc. It can also compile all common commands such as PUT etc.


Windows 7 Compiler start
http://www.tigabyte.com/Screenshots/05-2021/Windows_7_compiler_start.png

Windows 7 Compiler end
http://www.tigabyte.com/Screenshots/05-2021/Windows_7_compiler_end.png


Raspberry Pi Compiler start
http://www.tigabyte.com/Screenshots/05-2021/Raspberry_Pi_compiler_start.png

Raspberry Pi Compiler end
http://www.tigabyte.com/Screenshots/05-2021/Raspberry_Pi_compiler_end.png



(2) Runtime Engine

Currently working on debugging the interrupt system for timers, buttons and other controls.

After this HN5 should be close to displaying chart graphics at runtime.




« Last Edit: May 31, 2021, 03:08:14 PM by Malkom »
I am sorry but I do not have time to answer questions by PM or email.
If you post your questions in this forum then it might help others.