add docs for multi.isbpl

This commit is contained in:
Daniella 2022-05-24 16:48:25 +02:00
parent 96820a6f43
commit ac8044ef86

73
docs/multi.md Normal file
View file

@ -0,0 +1,73 @@
# Documentation: multi.isbpl
Library to create multiple contexts.
## Variables
### Context
Context type
### ISBPLStack
ISBPLStack type (java)
### File
File type (java)
### ISBPL
ISBPL context type (java)
---
# Types
## Context
ISBPL context wrapper
### Methods
#### `copyFunc ::: callable name -> `
Copies a function to the context
#### `construct ::: -> context`
Makes a new context
#### `makeStack ::: -> stack`
Creates a new ISBPLStack
#### `eval ::: string -> `
Evaluates a string, the stack of this context is used in the new one aswell.
#### `evalNewStack ::: string -> stack`
Evaluates a string, the stack used is fresh and returned afterwards.
#### `evalCustom ::: string stack -> stack`
Evaluates a string using the specified stack object, and returns the same object again.
### Variables
#### jContext
The real context that is being wrapped.