GithubHelp home page GithubHelp logo

caam95 / flowrun2 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sacode387/flowrun

0.0 0.0 0.0 1.2 MB

Executable flow diagrams 2

Home Page: https://flowrun.io/

License: Apache License 2.0

Scala 100.00%

flowrun2's Introduction

FlowRun

Flowcharts, runnable in your browser!


Features

  • simple and fast flowchart editor
  • run program inside your browser, locally
  • export program into JSON
  • readonly mode for documentation/tutorials
  • predefined functions
  • precise error reporting

Data types

  • Integer for whole numbers
  • Real for decimal numbers
  • String for text
  • Boolean for true/false

Operators

  • +, -, *, /, % for arithmetic operations
  • &&, ||, ! for boolean operations
  • <, <=, ==, !=, >, >= for comparing values

The rules of precedence should be familiar to you from mathematics.
For example:

  • * has higher precedence than +:
    2 + 2 * 2 == 2 + 4 == 6.
  • && has higher precedence than ||:
    true || false && true == true || false == true.

Functions

You can define new functions and use them from your main function.
Functions have a return type, the type of value which it returns.
For example, if you calculate a sum of two Integers, the result would also be an Integer (return type).

The return type can also be Void, which means it doesn't return anything, it just executes and that's it.
For example, it could calculate something, print it and exit.

There are also some predefined functions that you can use, they are defined automatically in FlowRun.
You can find them here


Implementation details

Written in ScalaJS.
Uses d3-graphviz to display the flowcharts.

flowrun2's People

Contributors

sake92 avatar pringlepot 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.