isbpl/docs/multi.md

74 lines
944 B
Markdown
Raw Normal View History

2022-05-24 16:48:25 +02:00
# Documentation: multi.isbpl
Library to create multiple contexts.
2022-05-24 16:49:45 +02:00
## >Variables
2022-05-24 16:48:25 +02:00
### Context
Context type
### ISBPLStack
ISBPLStack type (java)
### File
File type (java)
### ISBPL
ISBPL context type (java)
---
# Types
2022-05-24 16:49:45 +02:00
## >Context
2022-05-24 16:48:25 +02:00
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.