mirror of
https://github.com/peklaiho/madlisp.git
synced 2024-11-22 13:24:46 +00:00
add getEnv method to Lisp
This commit is contained in:
parent
9cf87a0c35
commit
a9a8558faa
@ -24,6 +24,11 @@ class Lisp
|
|||||||
$this->env = $env;
|
$this->env = $env;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getEnv(): Env
|
||||||
|
{
|
||||||
|
return $this->env;
|
||||||
|
}
|
||||||
|
|
||||||
public function print($value, bool $printReadable): void
|
public function print($value, bool $printReadable): void
|
||||||
{
|
{
|
||||||
$this->printer->print($value, $printReadable);
|
$this->printer->print($value, $printReadable);
|
||||||
|
Loading…
Reference in New Issue
Block a user