Code Monkey home page Code Monkey logo

workflow-1's Introduction

Workflow

Debuggable script language for interoperation with C++ using reflection, which can also generate C++ code.

License

This project is licensed under the License repo.

This project is not open sourced and for development only. But you are able to use the open sourced version in the Release repo.

The documentation for this library has not been done yet. Currently you can refer to the unit test to learn how to write this script and how to integrate this scripting system into your C++ projects:

Document

  • For Gaclib: click here
  • For Workflow: click here
    • Using Workflow in C++: click here
    • Sample code for above document: click here
    • Workflow language reference: click here

Features

Executing Workflow by C++ code generation

Workflow scripts are able to be converted to equivalent C++ code.

If all scripts are known at compile time, this could significantly improve the script performance.

You can also get rid of runtime reflection overhead in this way.

Executing Workflow script directly

  • Workflow and C++ classes call each other by reflection.
  • Serialize compiled script to a file in binary format, you don't need to call the compiler every time.
  • bind(EXPR) expression creates a subscriptable object to observe changing of the expression value.
  • Coroutine allows implementing Enumerable and Async by coroutine functions.
  • Coroutine allows creating your own coroutine syntax.
  • State Machine offers a new way to write classes, taking methods as input and drive the state machine forward.
  • Being able to install a debugger on a thread to track Workflow script.

workflow-1's People

Contributors

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