An open API service indexing awesome lists of open source software.

https://github.com/dns2utf8/gugelhupf

A ECMA-Script VM written in rust
https://github.com/dns2utf8/gugelhupf

Last synced: about 1 year ago
JSON representation

A ECMA-Script VM written in rust

Awesome Lists containing this project

README

          

# gugelhupf

An ECMA-Script VM.

## Design Runtime

```
Create Gugelhupf-Context
||

Add source code ---> Parse AST
|| ||
`´ `´
Run loop <--- Inject parsed AST
```

## Design interface with rust

The interpreter searches the JS scopes for a symbol.
If it can not find it it will look through the "native" symbols.
Native symbols are structs stored inside the Gugelhupf-Context.

Extending native symbols is as easy as adding a struct to the Gugelhupf-Context.