This PR mainly fix #61 .
It also resolve or help #24, #38, #60 , #64
Loading components and sub-components
fix #61
There are now 4 libraries :
component.oz
Manage a component. The creation of a component is done with a record
subcomponent.oz
Manage a subcomponent. The creation of a subcomponent is done with a record
fractalide.oz
Manage the loading of a component. It look at the right place to found the .oz or .fbp file and create the corresponding component/subcomponent.
fbpParser.oz
Is used by fractalide.oz to read a .fbp file.
For loading a component, the process is now :
declare
% Loading the main library
[Fractalide] = {Module.link ["./lib/fractalide.ozf"]}
% Loading a component
Disp = {Fractalide.load aDispName display}
As discused in the issue, the type is the only information needed.
The new parser
The new parser fix #24. It's much more robust and clean.
It also fixes #38. Now the double-cote must be escaped :
"create(text:\"button\")" -> in b(QTk/button)
Component creation
The feature "description" is now mandatory to create a component.
It's the first step for #60
The features "name" and "type" are no more needed.
The QTk card creation
Fix #64
The QTk card will no more block if the "out" output port is not connected (directly or not) to a QTk/window. The creation is more asynchronous.
The editor is broken
All theses changes require update for the component, and the editor component are not yet ready.
The tests
The process to launch the tests :
in the base repository
This PR mainly fix #61 . It also resolve or help #24, #38, #60 , #64
Loading components and sub-components
fix #61 There are now 4 libraries :
For loading a component, the process is now :
As discused in the issue, the type is the only information needed.
The new parser
The new parser fix #24. It's much more robust and clean. It also fixes #38. Now the double-cote must be escaped :
Component creation
The feature "description" is now mandatory to create a component. It's the first step for #60 The features "name" and "type" are no more needed.
The QTk card creation
Fix #64 The QTk card will no more block if the "out" output port is not connected (directly or not) to a QTk/window. The creation is more asynchronous.
The editor is broken
All theses changes require update for the component, and the editor component are not yet ready.
The tests
The process to launch the tests : in the base repository