Skip to content

WIP Struktogram(Nassi-Shneiderman diagram) creator for the web, with syntax greatly inspired from github user Nigjo's struktogramview (https://github.com/nigjo/structogramview/)

License

Notifications You must be signed in to change notification settings

edisnord/Struktogram-Creator

Repository files navigation

Struktogram Creator

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

Requirements to run on your own PC

Objectives

  1. Implement parser
    1. If
    2. Loop
    3. For
    4. Concurrent
    5. Break, Exit, Return
    6. Call
    7. Sequence
    8. Comment(and multiline)
    9. Switch-case
  2. Connect parser to diagram generator
  3. Implement diagram generator blocks
    1. Caption block
    2. Return block
    3. Exit block
    4. Call block
    5. Break block
    6. If block
    7. For block
    8. Loop block
    9. Concurrent block
    10. Comment block
    11. Switch-case
  4. Add syntax highlighting for Ace
  5. Parser error reporting(use the console for now, that's where I print syntax errors)
  6. Add theming for diagram and page colors

Development

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).

Testing

To run the project's tests:

npm run test

About

WIP Struktogram(Nassi-Shneiderman diagram) creator for the web, with syntax greatly inspired from github user Nigjo's struktogramview (https://github.com/nigjo/structogramview/)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published