bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-apl] How to evaluate a block of source like a file?


From: Elias Mårtenson
Subject: [Bug-apl] How to evaluate a block of source like a file?
Date: Tue, 5 Aug 2014 23:39:02 +0800

Hello Jürgen,

What I mean by the somewhat mysterious subject is that I have had a request to implement (or rather, improve) a feature in the Emacs Mode that allows a user to evaluate all or part of a file.

Specifically, what is needed is a way for me to take a set of source lines (usually a portion of a source .apl file) and pass it to some function that will load execute those lines in exactly the same manner as if the content had been saved to a file and then loaded using )COPY.

Ideally, I would also need the ability to specify the name of the file and starting line number. This is so that the symbol metadata (filename and line number) are correct in functions that are defined in this manner.

Would it be possible for you to implement a function that provides such interface?

Regards,
Elias

reply via email to

[Prev in Thread] Current Thread [Next in Thread]