Git Product home page Git Product logo

dweeve's Introduction

d~weeve - a Dataweave(ish) javascript thing

What it is/does:

  • d~weeve is a research / learning project
  • d~weeve transpiles the Mulesoft Dataweave 2.0 syntax into javascript and executes it
  • d~weeve supports nearly all of the Dataweave language sytex / features
  • d~weeve accepts json or xml payloads, but currently only emtis json
  • d~weeve is for fun and experimentation

What it isn't/doesn't:

  • d~weeve is not quite a full implementation of Dataweave 2.0 (but it is getting close for core library functions)
  • d~weeve is not for production / real use
  • d~weeve doesn't do some Dataweave functions (it as alphabetically all a-p(ish) + some) (but they are easy to add)
  • d~weeve doesn't do type coercion (it's javascript so things are a little more flexible, it does support 'is' and 'as' though)
  • d~weeve doesn't have any ouput formats other than json, depsite having an xml output declaration

d~weeve uses nearley https://nearley.js.org/ for grammar and parsing

There was a branch 'dweeve4browser' with some hacks and tweaks for running in the browser, killed this as this now has a nicely babel'd lib build.

You can play with it here: http://dweeve.smallwalrus.com/

The repo is here: https://github.com/ICornwell/dweeve-react

dweeve's People

Contributors

dependabot[bot] avatar iancornwell avatar icornwell avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

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