I added an #include-once directive and let it default to "no" (current
behavior).  Also added was a program argument to change the default
behavior if one so desires [me]. Testing done as well.

http://pastebin.com/5Mfrvzdw

Regards, Enoch.


Keith Amidon <cama...@picnicpark.org> writes:

> {-- Mon, 15 Apr 2013 12:52:45 -0400: Enoch <i...@hotmail.com> wrote: --}
>
>   Enoch> As this is our first direct communication, thank you for contributing
>   Enoch> the shell.
>
> Thanks for your appreciation.  I've really enjoyed working on my amforth
> projects and just wish I had more time for them. ;-)
>
>   Enoch> I did read your other thoughts. It raises intersting questions 
> regarding
>   Enoch> the future role of the shell in AmForth development. Is it an 
> essential
>   Enoch> tool or "just" a convenience.
>
> Personally, I think it is important that the shell is *always* just a
> convenience.  My suggested implementation was intended to maintain that
> property.  
>
> My reasoning for the "#require" suggested implementation with the
> special word to indicate something was uploaded was that the only way to
> reliably know what has been uploaded to the microcontroller is to ask
> it.  Anything else is vulnerably to shell restarts, microcontroller
> re-flashes, etc.
>
> My reasoning with the "#include" suggestions was motivated purely by my
> own workflow.  I pretty much manually do all the things I suggested the
> shell do and I find that process to be error-prone.  Trying to automate
> it using the existing support in the shell is doable (e.g. by having it
> ignore the error from the next command when calling the marker word) but
> results in output errors when the markers aren't present.  I'd like to
> avoid that error output since the primary expected users of the
> libraries I've created are very inexperienced.
>
>          --- Keith
>
> ------------------------------------------------------------------------------
> 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


------------------------------------------------------------------------------
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