From ac8044ef863a22e0581313893ff59f7cc2bafcaf Mon Sep 17 00:00:00 2001 From: TudbuT Date: Tue, 24 May 2022 16:48:25 +0200 Subject: [PATCH] add docs for multi.isbpl --- docs/multi.md | 73 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 docs/multi.md diff --git a/docs/multi.md b/docs/multi.md new file mode 100644 index 0000000..e1297ea --- /dev/null +++ b/docs/multi.md @@ -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. + +