add pstr method to Lisp class

This commit is contained in:
Pekka Laiho 2020-12-20 13:54:27 +07:00
parent c35134245c
commit 9cf87a0c35

View File

@ -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);