Giter Club home page Giter Club logo

edisnord / struktogram-creator Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 2.2 MB

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

Home Page: https://edisnord.github.io/Struktogram-Creator/

License: Apache License 2.0

F# 61.59% HTML 8.88% CSS 28.95% JavaScript 0.59%
algorithm-visualizer fable nassi-shneiderman-diagrams structogram struktogram fsharp

struktogram-creator's Introduction

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

struktogram-creator's People

Contributors

edisnord avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.