mirror of
https://github.com/peklaiho/madlisp.git
synced 2024-11-22 05:14:45 +00:00
add pstr method to Lisp class
This commit is contained in:
parent
c35134245c
commit
9cf87a0c35
@ -29,6 +29,11 @@ class Lisp
|
||||
$this->printer->print($value, $printReadable);
|
||||
}
|
||||
|
||||
public function pstr($value, bool $printReadable): string
|
||||
{
|
||||
return $this->printer->pstr($value, $printReadable);
|
||||
}
|
||||
|
||||
public function readEval(string $input)
|
||||
{
|
||||
$tokens = $this->tokenizer->tokenize($input);
|
||||
|
Loading…
Reference in New Issue
Block a user