ottoext

package module
v0.0.0-...-5871ae9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 8, 2017 License: BSD-3-Clause Imports: 0 Imported by: 0

README

ottoext

GoDoc

Overview

This package contains some extensions for the otto JavaScript interpreter. The most important extension is a generic event loop based on code from natto. The other extensions are setTimeout and setInterval support, Promise support (via native-promise-only, MIT license), and fetch support.

Examples

Take a look at the test files to see how the extensions work.

License

3-clause BSD. A copy is included with the source.

Documentation

Overview

Package ottoext contains some extensions for the otto JavaScript interpreter.

Directories

Path Synopsis
cmd
ottoext
command otto runs JavaScript from a file, opens a repl, or does both.
command otto runs JavaScript from a file, opens a repl, or does both.
Package repl implements an event loop aware REPL (read-eval-print loop) for otto.
Package repl implements an event loop aware REPL (read-eval-print loop) for otto.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL