Skip to content

Add basic unmarshaling#16

Open
boltlessengineer wants to merge 2 commits intoGrayJack:devfrom
boltlessengineer:feat/unmarshal
Open

Add basic unmarshaling#16
boltlessengineer wants to merge 2 commits intoGrayJack:devfrom
boltlessengineer:feat/unmarshal

Conversation

@boltlessengineer
Copy link

  • add JanetClient::unmarshal(...)
  • add JanetClient::laod_env(...) to laod custom environment
  • change JanetEnvironment::new() to accept a JanetTable. This will allow user to make custom environment from unmarshaled table. JanetEnvironment::default() remains same as before.

- make `JanetEnvironment::new()` to accept a table. `::default()` remains
  same as before (use `janet_core_env`).
- implement `JanetClient::load_env(...)` to load custom environment.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant