Hello Matthias,

Matthias Trute <mtr...@web.de> writes:

> Hello Enoch,
>
>> To extend #require over amforth-shell.py sessions simply add data
>> persistence to "self._uploaded = set()".
>
> Sounds good. If the storage is something that can identify
> a particular controller and that has some cleanup for orphaned
> sessions included (during re-flash or too old or something like
> that).

Pickle (*) the Amforth environment "CPU", "VERSION"... pickle all WORDS
if you like... raise a warning whether to discard previous session
memory... refine #require syntax to "#require [WORD,] FILE" which means
upload FILE if WORD is absent...

In short, don't flash if amforth-shell.py can do the same for you.

By the way, when I introduced the #include idea (aka #require in current
amforth-shadow to maintain compatibility with your amforth libs) and
#install (what you later renamed to #include) I mentioned that it is
limited to a single session only for being lazy. I would certainly like
passing the torch to somebody else to carry this idea forward. That's
what free open source is all about :-)

Regards, Enoch.

(*) To those who are not familiar with Python, pickle is the main
function used in "data persistence".


------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
Amforth-devel mailing list for http://amforth.sf.net/
Amforth-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amforth-devel

Reply via email to