WIP Struktogram(Nassi-Shneiderman diagram) creator for the web, with syntax greatly inspired from github user Nigjo's struktogramview. This tool is being made with Parsec.fs for the language parsing, Feliz and Fable
For a rundown on the app's language, please refer to the wiki section of this repo
The app is now deployed on GitHub pages, so if you wish to use it check out this link
- dotnet SDK v7.0 or higher (with dotnet CLI in path)
- node.js v18+ LTS
- paket
- Implement parser
- If
- Loop
- For
- Concurrent
- Break, Exit, Return
- Call
- Sequence
- Comment(and multiline)
- Switch-case
- Connect parser to diagram generator
- Implement diagram generator blocks
- Caption block
- Return block
- Exit block
- Call block
- Break block
- If block
- For block
- Loop block
- Concurrent block
- Comment block
- Switch-case
- Add syntax highlighting for Ace
- Parser error reporting(use the console for now, that's where I print syntax errors)
- Add theming for diagram and page colors
Before doing anything, start with installing npm dependencies using npm install
and paket install
.
Then to start development mode with hot module reloading, run:
npm start
This will start the development server after compiling the project, once it is finished, navigate to http://localhost:5137 to view the application .
To build the application and make ready for production:
npm run build
This command builds the application and puts the generated files into the dist
directory (can be overwritten in vite.config.js).
To run the project's tests:
npm run test