Running H-hat¶
With CLI
¶
In development
This step is not implemented yet and sits in a TODO list to be done.
With the CLI configured and installed, it can be used on the terminal through the hat
command.
1 |
|
For more information on commands available.
With Python currently available
¶
In progress
This step is in progress, so you may experience some breaking or incomplete parts.
The project file organization is created as follows:
1 2 3 4 5 6 7 8 |
|
Using H-hat library, one can access it through the hhat_lang.toolchain.cli
module.
Creating a new project¶
1 2 3 |
|
This will create a new project called new_project
, with all the folders and auxiliary tools to enable start developing in H-hat with the select dialect .
Creating a new file¶
A new file can be created through:
1 |
|
This will create a file_name.hat
file into the new_project
project, as well as a file_name.hat.md
file at hat_docs/
. For every file, there will be a documentation file.
New type files are created slightly different:
1 |
|
It will create a file_type.hat
at hat_types/
, as well as its documentation counterpart at the hat_docs/hat_types/file_type.hat.md
.
With Rust
¶
Unavailable
This step is currently unavailable. May be implemented in the future.