Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

:source codefile #29

Open
glycerine opened this issue Jul 3, 2018 · 2 comments
Open

:source codefile #29

glycerine opened this issue Jul 3, 2018 · 2 comments
Assignees

Comments

@glycerine
Copy link
Contributor

glycerine commented Jul 3, 2018

It would great to have a easy way to read and interpret a file full of expressions and declarations.

Perhaps there is always a way I'm not finding. The opposite of :write. One could ideally :write the current set of definitions and types, then :source them back in later, in a different session.

@cosmos72 cosmos72 self-assigned this Jul 3, 2018
@cosmos72
Copy link
Owner

cosmos72 commented Jul 4, 2018

Currently, there is no single command to eval a whole file:
the old classic interpreter has EvalFile(), but it's missing from the current fast interpreter.

It's surely worth adding, I will work on it.

@vitesse-ftian
Copy link

Once this is implemented, it is very handy if we auto load a rc file (~/.gomacrorc) on start.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants