From: Enoch <ix...@ho...> - 2013-04-15 16:24:44
|
Matthias Trute <mt...@we...> writes: >> amforth-shell.py bugfix. skips already uploaded #include files. > > This would break my standard workflow: > start shell > do > flash controller > upload files with #include (via cursor up-history) > test > again Hello Matthias, I guess you better alter the above workflow a little if you wish to prevent postpone (for example) being uploaded multiple times :-) This #include once behavior is what Python does with import. I was considering to remember the set of uploaded files between shell sessions but rejected it for simplicity. > I would prefer something like > require <name> as specified > in http://www.forth200x.org/required.html > and keeping the include as it is now. Hmm... I prefer keeping the shell's meta commands "meta" (http://foldoc.org/meta). Once AmForth incorporates a notion of files (anyone using AT90USB????) we can let the AVR take charge. Regards, Enoch. |