Igs
Programs from roupi
interactive greyscript repl (Read-eval-print loop)

IGS

tool to quickly test some greyscript code without having to open an editor and compiling and then running it, if you have used ruby's IRB or python repl its similar.

it does let you continue to eval after an error

and after a compilation error without loosing state

META

the interface igs uses under the hood, it has functions like eval to run arbitrary code passed as a string


and console function if you have an error in your program and would like to debug it before the code crashes.

WARNING ________________
if you call Meta.console inside a function you will discover that you wont have access to the local variables

to fix it i added an hack, you just need to pass your locals as a parameter to .console or .eval and then all the locals will be accessible inside the child script with a "M" prefix, like this :


REFERENCE


if you want to use this as a lib you can copy the static/meta.src to your project and to use the igs tool just compile the igs.src
Files
Builds
igs_0.1.5
Download build

Post's comments

post does not have comments.

You need to log in to write a comment.