ravikumar10 / genyris

Automatically exported from code.google.com/p/genyris
Other
0 stars 0 forks source link

Some bindings missing from tab autocompletion #38

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. REPL
C:\genyris\genyris-binary-0.6.9-12-ga84d0d0-b0>java -Xmx256M -cp 
"C:\genyris\genyris-binary-0.6.9-12
-ga84d0d0-b0\dist\*" org.genyris.interp.ClassicReadEvalPrintLoop
*** Welcome bbirch1, Genyris version 0.6.9-12-ga84d0d0-b0, home 
C:/genyris/genyris-binary-0.6.9-12-g
a84d0d0-b0 is listening...
2.
> define zz 23
:
23 # Bignum
3. hit TAB

What do you see?

nothing

What is the expected output?

zz

Original issue reported on code.google.com by birchb1...@gmail.com on 5 Apr 2013 at 6:46

GoogleCodeExporter commented 9 years ago
This is because the REPL is executing in its own environment (of 
sys:read-eval-print-loop) wherase the tab completion is using the top-level 
environment. (read) needs to make the current environment available to the 
auto-completion or else list all symbols unbound or not. 

Original comment by birchb1...@gmail.com on 5 Apr 2013 at 6:50

GoogleCodeExporter commented 9 years ago
Autocompletion uses environment of (read). Fixed in 0.6.9-15-g409c412.

Original comment by birchb1...@gmail.com on 6 Apr 2013 at 9:56

GoogleCodeExporter commented 9 years ago

Original comment by birchb1...@gmail.com on 13 Apr 2013 at 8:44