Source transformer enabling ECMAScript 6 generator functions (yield) in JavaScript-of-today (ES5)
http://github.com/facebook/regeneratorTags | generator yield coroutine rewriting transformation syntax codegen refactoring transpiler desugaring es6 |
Implementation | Javascript |
License | BSD |
Platform | NodeJS |
Issues with the output should be reported on the Babel issue tracker.See the Babel options, except for filename which is handled for you.
babel grunt-plugin gruntplugin transpiler es2015 rewriting transformation syntax codegen desugaring compilerIssues 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.
babel gulp-plugin gulpplugin transpiler es2015 es2016 es2017 rewriting transformation syntax codegen desugaring compilerIn 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.
ast rewriting refactoring codegen syntax transformation parsing pretty-printinggnode 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.
node generators es6 facebook regenerator coThis 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.
es6 module transpile amd commonjsLanguage 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.
atom react jsx es5 es7 babel graphql styled-components es6 flow esnext es2015 es2016 es2017 relay apolloThe 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.
swoole coroutine microservice framework psr-7 psr-14 psr-16 aop annotation-framework rpcTomorrow’s JavaScript module syntax today
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.
coroutine coroutine-library await await-promises actor-model actor generator tuple arm64 asm objc iosA small and magical composer for all JavaScript asynchronous.
asynchronous async-await generator thunk callback promise async thunks future flow yield coro compose coroutine orchestrateGenerator-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.
async generator yield callback promise flow control suspendThe 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.
transpiler security-hardening migration translation memory-safety cross-checkingThis 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 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.
code-generation code-generator codegen developer-tools linux openvms synergexCustomTemplating 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.
code-generation codegen t4This project is all about two way transformation of JAX-RS-annotated Java code to RAML API description and back.
raml raml-tooling raml-codegen raml-buildEchoprint 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.
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.
awesome not-awesome awesome-lists composition functional-programming delegation prototypes class classes es6 es2015 react object-oriented-programming inheritance inferno snabbdom recompose prototypal-inheritance functional-compositionWrite JavaScript ES6 easily with vim. You need SnipMate or UltiSnips installed.
vim snippets viml vim-syntax es6Rust 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.
coroutines green-threads fibers async scalability io primitives high-performance generator
We have large collection of open source products. Follow the tags from
Tag Cloud >>
Open source products are scattered around the web. Please provide information
about the open source projects you own / you use.
Add Projects.