Nyssa projecs are typical Blade applications
versionare required so nyssa will suggest an appropriate value for you. You can leave them blank to allow nyssa use the default values or replace them with other values of your choice.
See Package layout for the structure of the command output.
namewill be the name of current directory and the default version will be
1.0.0. It is conventional to keep the version name semantic.
To convert an existing application or library into a Nyssa application, all you need to do is to follow the same process for creating a new package. If the application already contain a file named
nyssa.json, you may need to delete it because nyssa does not reinitialize existing projects.
When converting an existing application, your existing directory and files matching those that nyssa creates will not be overwritten.
Your code can go into any Blade (
.b) file in the created/generated directories and files. However, by default and by convention, your code should go into the
To run your application, run the command
blade . from the root of the application.
When you create a new nyssa project, nyssa creates a simple Hello World like application for you as well. If you run
blade . from the root of your new nyssa project, you'll be greeted by the message
Welcome to Nyssa. Magic begins here!. To modify this, you can open the file at
app/index.b to change what the application does.