Rules projects are container that group together all the files forming a Macrocoder rules program. They contain all the FCL code needed to implement the grammar parser, the semantic analyzer and the code generator.
Create a rules project
To create a rules project:
make sure the Rules1 tab is selected;
click on the local menu icon 2;
select Create new rules project3;
save the project in a directory: that directory will become the home path of that rules project;
Create and add a source file
Once the project has been created, source files can be added.
make sure the Rules tab is selected;
right-click on the Files entry or in the white area below 1
select Create and add a source file2 if a plain text .fcl source file is required;
select Create and add a grammar file3 if a grammar .fcg source file is required ;