Skip to content
/ duktape-rs Public

Rust wrapper for Duktape, a lightweight, embedded JavaScript interpreter.

Notifications You must be signed in to change notification settings

emk/duktape-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

Documentation.

WORK IN PROGRESS.

A Rust wrapper for Duktape. Things to do before this is minimally useful:

  • Handle non-UTF-8 strings.
  • Call JavaScript functions by name.
  • Define functions.
    • Call specified Rust functions from JavaScript.
    • Return errors from Rust to JavaScript.
  • Convert to use Encodable/Decodable everywhere.
    • Convert parameters to use Encodable.
    • Replace Value with serialize::Json.
    • Convert return values to use Decodable.
  • Add nice macros.
    • Provide macro for calling functions.
    • Provide macro for defining functions.

About

Rust wrapper for Duktape, a lightweight, embedded JavaScript interpreter.

Resources

Stars

Watchers

Forks

Packages

No packages published