aboutsummaryrefslogtreecommitdiffstats
path: root/Bin
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2012-12-21 08:22:16 +0100
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2012-12-21 08:22:16 +0100
commit155ffa5dad513adaade2ea4e6c41f2808427cea1 (patch)
treea5a9b1a6ab5cfc5c939ebaf0b98da8b96f5f11a8 /Bin
parente47d09ad6395efe226b9757c0465028729c4ab82 (diff)
downloadPraspel-155ffa5dad513adaade2ea4e6c41f2808427cea1.zip
Praspel-155ffa5dad513adaade2ea4e6c41f2808427cea1.tar.gz
Praspel-155ffa5dad513adaade2ea4e6c41f2808427cea1.tar.bz2
.v[ariables] print Praspel representations.
Diffstat (limited to 'Bin')
-rw-r--r--Bin/Shell.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/Bin/Shell.php b/Bin/Shell.php
index 9de73b2..227701a 100644
--- a/Bin/Shell.php
+++ b/Bin/Shell.php
@@ -162,7 +162,8 @@ class Shell extends \Hoa\Console\Dispatcher\Kit {
case '.v':
case '.variables':
foreach($interpreter->getClause() as $variable)
- echo $variable->getName(), "\n";
+ echo $variable->getName(), ': ',
+ $variable->getHeld()->toPraspel(), "\n";
break;
case '.s':