regenerator - Source transformer enabling ECMAScript 6 generator functions in JavaScript-of-today.

  •        23

Source transformer enabling ECMAScript 6 generator functions (yield) in JavaScript-of-today (ES5)

http://github.com/facebook/regenerator
https://github.com/facebook/regenerator

Dependencies:

babel-core : ^6.18.2
babel-plugin-syntax-async-functions : ^6.13.0
babel-plugin-syntax-async-generators : ^6.13.0
babel-plugin-transform-es2015-arrow-functions : ^6.8.0
babel-plugin-transform-es2015-block-scoping : ^6.18.0
babel-plugin-transform-es2015-classes : ^6.18.0
babel-plugin-transform-es2015-for-of : ^6.18.0
babel-runtime : ^6.18.0
babel-types : ^6.19.0
commoner : ^0.10.8
private : ^0.1.6
recast : ^0.11.17
regenerator-preset : ^0.10.1
regenerator-runtime : ^0.11.0
regenerator-transform : ^0.10.1
through : ^2.3.8

Tags
Implementation
License
Platform

   




Related Projects

grunt-babel - Grunt plugin for Babel

  •    Javascript

Issues with the output should be reported on the Babel issue tracker.See the Babel options, except for filename which is handled for you.

gulp-babel - Gulp plugin for Babel

  •    Javascript

Issues with the output should be reported on the Babel issue tracker.See the Babel options, except for sourceMap and filename which is handled for you.

recast - JavaScript syntax tree transformer, nondestructive pretty-printer, and automatic source map generator

  •    Javascript

In less poetic terms, Recast exposes two essential interfaces, one for parsing JavaScript code (require("recast").parse) and the other for reprinting modified syntax trees (require("recast").print). See ast-types (especially the def/core.js) module for a thorough overview of the ast api.

gnode - Run node with ES6 Generators, today!

  •    Javascript

gnode is a very light wrapper around your node executable that ensures ES6 Generator support, even on versions of node that do not support ES6 Generators natively.You use it exactly like the regular node executable, except that you do not need to pass the --harmony-generators flag. That is where the magic happens.

es6-module-transpiler - Tomorrow’s JavaScript module syntax today

  •    Javascript

This project is part of esnext, which has merged with Babel. All the features of esnext are supported by Babel, and more. All the tests from esnext have been ported over to Babel to ensure that switchers will have minimal code changes to make. The maintainers of esnext will continue working on Babel to bring better spec compliance, ES6 feature support, and performance. If you want a fast tool with bundling support as found in this project, you should check out Rollup. ES6 Module Transpiler is an experimental compiler that allows you to write your JavaScript using a subset of the ES6 module syntax, and compile it into AMD or CommonJS modules.


language-babel - ES2017, flow, React JSX and GraphQL grammar and transpilation for ATOM

  •    CoffeeScript

Language grammar for all versions of JavaScript including ES2016 and ESNext, JSX syntax as used by Facebook React, Atom's etch and others, as well as optional typed JavaScript using Facebook flow. This package also supports highlighting of GraphQL language constructs when inside certain JavaScript template strings. For .graphql and .gql file support please see language-graphql . The colour of syntax is determined by the theme in use. By default the language-babel package will detect file types .js,.babel,.jsx, .es, .es6, .mjs and .flow. Use the standard ATOM interface to enable it for other file types. This provides a grammar that scopes the file in order to colour the text in a meaningful way. If other JavaScript grammars are enabled these may take precedence over language-babel. Look at the bottom right status bar indicator to determine the language grammar of a file being edited. language-babel will be shown as either Babel or Babel ES6 JavaScript. Clicking the name will allow the grammar for a file to be changed.

swoft - ⚡️ Modern High performance AOP and Coroutine PHP Framework, base on Swoole

  •    PHP

The first high-performance PHP coroutine full-stack componentization framework based on Swoole native coroutine, built-in coroutine web server and commonly-used coroutine client, resident memory, which has no dependency on PHP-FPM, asynchronous non-blocking IO implementation, similar to synchronous client style of writing to achieve the use of asynchronous clients, without complex asynchronous callback, no tedious yield, similar Go language coroutines, flexible annotations framework, a powerful global dependency injection container base on annotations, and great service governance , flexible and powerful AOP, PSR specification implementation, etc., could be used to build high-performance Web systems, APIs, middleware, basic services, microservice and so on. Chinese Document English Document Not yet, please help us write it.

es6-module-transpiler - Tomorrow’s JavaScript module syntax today

  •    Javascript

Tomorrow’s JavaScript module syntax today

coobjc - coobjc provides coroutine support for Objective-C and Swift

  •    Objective-C

This library provides coroutine support for Objective-C and Swift. We added await method、generator and actor model like C#、Javascript and Kotlin. For convenience, we added coroutine categories for some Foundation and UIKit API in cokit framework like NSFileManager, JSON, NSData, UIImage etc. We also add tuple support in coobjc. Sequence of simple operations is unnaturally composed in the nested blocks. This "Callback hell" makes it difficult to keep track of code that is running, and the stack of closures leads to many second order effects.

suspend - Callback-free control flow for Node using ES6 generators.

  •    Javascript

Generator-based control-flow for Node enabling asynchronous code without callbacks, transpiling, or selling your soul. Suspend is designed to work seamlessly with Node's callback conventions, promises, and thunks, but is also compatible with code that follows other conventions.

c2rust - C to Rust translation, refactoring, and cross-checking

  •    Rust

The ast-exporter extracts from a C file the abstract syntax tree and type information produced by Clang and serializes it into CBOR files. The ast-importer consumes these CBOR files and generates Rust source code preserving the semantics (as understood under C99) of the initial C program. The translated Rust files will not depend directly on each other like normal Rust modules. They will export and import functions through the C API. These modules can be compiled together into a single static Rust library.

node-es6-examples - ECMAScript 6 examples for Node.JS

  •    

This text introduces and illustrates, with simple examples, ECMAScript 6 (ES6 for short) features natively available in Node. No transpiler or shim is required to run the code snippets. We hope the reader finds the subset of ES6 presented here interesting. The underlying philosophy and broad direction of ES6 has mostly been agreed upon. However, implementation details are being polished until the final specification is published. Experimental ES6 in Node may not comply with the latest draft specification, available here.

CodeGen Code Generator

  •    

CodeGen is a tool that Synergy/DE developers can use to generate source code and other types of content based on meta-data stored in a Synergy Repository.

CustomTemplating - Template Text Transformations with custom T4 host

  •    CSharp

CustomTemplating allows the usage of the Text Template Transformation Toolkit (T4) from custom applications, without VS IDE as Host. It simplifies the start of the text transformation process and allow to pass arguments from the application to the template transformation process.

raml-for-jax-rs - This project is all about two way transformation of JAX-RS-annotated Java code to RAML API description and back

  •    Java

This project is all about two way transformation of JAX-RS-annotated Java code to RAML API description and back.

echoprint-codegen - Codegen for Echoprint

  •    C++

Echoprint is an open source music fingerprint and resolving framework powered by the The Echo Nest. The code generator (library to convert PCM samples from a microphone or file into Echoprint codes) is open source (MIT licensed) and free for any use. The server component that stores and resolves queries is open source (Apache 2 licensed) and free for any use. The data for resolving to millions of songs is free for any use provided any changes or additions are merged back to the community.the codegen library (libcodegen) is meant to be linked into code that passes it a buffer of PCM data and will output a code string.

not-awesome-es6-classes - A curated list of resources on why ES6 (aka ES2015) classes are NOT awesome

  •    

Reverse-inspired by all of the awesome lists on GitHub, like Awesome, Awesome Awesomeness, Awesome JavaScript, Awesome React, Awesome Cycle.js, Awesome Go, Awesome Elixir, Awesome Elm, etc. While ES6 brings several useful and syntactically pleasing new features to JavaScript, there are many people in the JS community who feel that adding class syntax to the language was a mistake. I share this sentiment, but I have encountered quite a few programmers in the wild who don't agree or simply don't seem to understand why some of us have this opinion. So, I wanted to create an online reference where people could come to learn specifically about this issue and why they might not actually need class syntax in JavaScript.

vim-es6 - List of JavaScript ES6 snippets and syntax highlighting for vim.

  •    Vim

Write JavaScript ES6 easily with vim. You need SnipMate or UltiSnips installed.

may - rust stackful coroutine library

  •    Rust

Rust Stackful Coroutine Library. May is a high performance stackful coroutine library that can be thought of rust version goroutine. You can use it easily to design and develop massive concurrent programs in Rust.