Matthias Trute <mtr...@web.de> 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.


------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
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