Re: [Amforth] Ref Card Generation -- working hack

2020-07-17 Thread Mark Roth
I cleaned up my diff of the svn (amforth-code) and put it up to see if it
would be helpful. Be sure to look through the comments on the changed .asm
files. In particular the description on abort-string.asm. I'm not seeing
the -2 error and that is a set of comments I pulled from an older revision.
It can be found here.
http://ipreferpi.eu/DL/mywork.diff

To build the refcard page using the (mostly) original script I had to
resort to dumping the avr8 and common words into a big pile and let the
perl voodoo do what it do.  So, that is my disclaimer that it is an avr8
AmForth Refcard only. One could use the same technique to make the other
flavors as well I suppose.  To do that I just made a little helper script
that I run from the doc directory.

#!/bin/bash
> mkdir ../tempwords
> cp -r ../common/words ../tempwords
> cp -r ../avr8/words ../tempwords
> cd ../tools/ ; perl make-refcard-rst ; cd ../doc
> make htdocs
> #make onlyepub
> rm -r ../tempwords


It does the trick for me locally anyhow.

So that completes my AmForth conversion via AmForth Weekend 1
:P

All the best (until the next one),
Mark


On Thu, Jul 16, 2020 at 11:02 AM Mark Roth  wrote:

> Of those you see in the list, there are about 20 .asm files that aren't
> included in even the 8k core build. I jammed about a dozen of them into my
> appl_core dictionary include file just to try and fill it up. Plus of
> course the hardware drivers that wouldn't be included anyhow if you don't
> need them. I should probably go through my notes and start making patches
> for all the files I changed so they can be vetted. I'm sure I made some
> errors (or just didn't know from looking at the comments) that would need
> to be sorted out. :)
>
> On Thu, Jul 16, 2020 at 9:53 AM Tristan Williams  wrote:
>
>> Hello Mark,
>>
>> Brilliant! There are AmForth words there I hadn't realised it had.
>>
>> Best wishes,
>> Tristan
>>
>> On 16Jul20 00:49, Mark Roth wrote:
>> > It's almost there at least as a page that can temporarily replace the
>> > temporary v5.5 one. This is generated from the current svn sources and
>> > consists of the avr8 and common words directories. I cleaned up as many
>> of
>> > the files that I could (and those will for sure need some Forth eyes on
>> > them) by taking info from older versions when the comment block was
>> > missing. The entire thing is generated by copying the avr8/words and
>> > common/words into a temp directory then running the refcard python file
>> > against that. You can take a look at it here.
>> > http://ipreferpi.eu/htdocs/TG/refcard.html
>> >
>> > On Mon, Jul 13, 2020 at 10:19 PM Mark Roth 
>> wrote:
>> >
>> > > I see there are a few duplicates but I'm not really sure why. Like
>> > > RECOGNIZE from recognize.asm. It must have something to do with the
>> way the
>> > > msp430 header is formatted that is different from other ones since it
>> isn't
>> > > all of them. I'm sure it is in that voodoo of slashes somewhere...
>> > >
>> > > all the best,
>> > > Mark
>> > >
>> > >>
>> > >> CLIPPED
>> >
>> > ___
>> > Amforth-devel mailing list for http://amforth.sf.net/
>> > Amforth-devel@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/amforth-devel
>> >
>>
>>
>> ___
>> Amforth-devel mailing list for http://amforth.sf.net/
>> Amforth-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/amforth-devel
>>
>

___
Amforth-devel mailing list for http://amforth.sf.net/
Amforth-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amforth-devel


Re: [Amforth] Ref Card Generation -- working hack

2020-07-17 Thread Mark Roth
ugh, ignore the ">" at the start of the script lines obviously. I had the
whole mess quoted so it made a mockery of things.

On Fri, Jul 17, 2020 at 12:40 PM Mark Roth  wrote:

> I cleaned up my diff of the svn (amforth-code) and put it up to see if it
> would be helpful. Be sure to look through the comments on the changed .asm
> files. In particular the description on abort-string.asm. I'm not seeing
> the -2 error and that is a set of comments I pulled from an older revision.
> It can be found here.
> http://ipreferpi.eu/DL/mywork.diff
>
> To build the refcard page using the (mostly) original script I had to
> resort to dumping the avr8 and common words into a big pile and let the
> perl voodoo do what it do.  So, that is my disclaimer that it is an avr8
> AmForth Refcard only. One could use the same technique to make the other
> flavors as well I suppose.  To do that I just made a little helper script
> that I run from the doc directory.
>
> #!/bin/bash
>> mkdir ../tempwords
>> cp -r ../common/words ../tempwords
>> cp -r ../avr8/words ../tempwords
>> cd ../tools/ ; perl make-refcard-rst ; cd ../doc
>> make htdocs
>> #make onlyepub
>> rm -r ../tempwords
>
>
> It does the trick for me locally anyhow.
>
> So that completes my AmForth conversion via AmForth Weekend 1
> :P
>
> All the best (until the next one),
> Mark
>
>
> On Thu, Jul 16, 2020 at 11:02 AM Mark Roth  wrote:
>
>> Of those you see in the list, there are about 20 .asm files that aren't
>> included in even the 8k core build. I jammed about a dozen of them into my
>> appl_core dictionary include file just to try and fill it up. Plus of
>> course the hardware drivers that wouldn't be included anyhow if you don't
>> need them. I should probably go through my notes and start making patches
>> for all the files I changed so they can be vetted. I'm sure I made some
>> errors (or just didn't know from looking at the comments) that would need
>> to be sorted out. :)
>>
>> On Thu, Jul 16, 2020 at 9:53 AM Tristan Williams  wrote:
>>
>>> Hello Mark,
>>>
>>> Brilliant! There are AmForth words there I hadn't realised it had.
>>>
>>> Best wishes,
>>> Tristan
>>>
>>> On 16Jul20 00:49, Mark Roth wrote:
>>> > It's almost there at least as a page that can temporarily replace the
>>> > temporary v5.5 one. This is generated from the current svn sources and
>>> > consists of the avr8 and common words directories. I cleaned up as
>>> many of
>>> > the files that I could (and those will for sure need some Forth eyes on
>>> > them) by taking info from older versions when the comment block was
>>> > missing. The entire thing is generated by copying the avr8/words and
>>> > common/words into a temp directory then running the refcard python file
>>> > against that. You can take a look at it here.
>>> > http://ipreferpi.eu/htdocs/TG/refcard.html
>>> >
>>> > On Mon, Jul 13, 2020 at 10:19 PM Mark Roth 
>>> wrote:
>>> >
>>> > > I see there are a few duplicates but I'm not really sure why. Like
>>> > > RECOGNIZE from recognize.asm. It must have something to do with the
>>> way the
>>> > > msp430 header is formatted that is different from other ones since
>>> it isn't
>>> > > all of them. I'm sure it is in that voodoo of slashes somewhere...
>>> > >
>>> > > all the best,
>>> > > Mark
>>> > >
>>> > >>
>>> > >> CLIPPED
>>> >
>>> > ___
>>> > Amforth-devel mailing list for http://amforth.sf.net/
>>> > Amforth-devel@lists.sourceforge.net
>>> > https://lists.sourceforge.net/lists/listinfo/amforth-devel
>>> >
>>>
>>>
>>> ___
>>> Amforth-devel mailing list for http://amforth.sf.net/
>>> Amforth-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/amforth-devel
>>>
>>

___
Amforth-devel mailing list for http://amforth.sf.net/
Amforth-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amforth-devel


Re: [Amforth] Ref Card Generation -- working hack

2020-07-17 Thread Mark Roth
I may as well be complete.
http://ipreferpi.eu/DL/padding.diff

Those are the fixes for the padding warnings while building. Not really
terribly important but better all the way than half-way there.
This one though actually supersedes the other for ud-star.asm and
q-negate.asm since they have a lesser change in the first diff I posted.
Their fixes of adding the ",0" are on lines 12 and 15 respectively and
could just be fixed manually.

Now I'm really done and the weekend is still half a day away.

On Fri, Jul 17, 2020 at 1:20 PM Mark Roth  wrote:

> ugh, ignore the ">" at the start of the script lines obviously. I had the
> whole mess quoted so it made a mockery of things.
>
> On Fri, Jul 17, 2020 at 12:40 PM Mark Roth  wrote:
>
>> I cleaned up my diff of the svn (amforth-code) and put it up to see if it
>> would be helpful. Be sure to look through the comments on the changed .asm
>> files. In particular the description on abort-string.asm. I'm not seeing
>> the -2 error and that is a set of comments I pulled from an older revision.
>> It can be found here.
>> http://ipreferpi.eu/DL/mywork.diff
>>
>> To build the refcard page using the (mostly) original script I had to
>> resort to dumping the avr8 and common words into a big pile and let the
>> perl voodoo do what it do.  So, that is my disclaimer that it is an avr8
>> AmForth Refcard only. One could use the same technique to make the other
>> flavors as well I suppose.  To do that I just made a little helper script
>> that I run from the doc directory.
>>
>> #!/bin/bash
>>> mkdir ../tempwords
>>> cp -r ../common/words ../tempwords
>>> cp -r ../avr8/words ../tempwords
>>> cd ../tools/ ; perl make-refcard-rst ; cd ../doc
>>> make htdocs
>>> #make onlyepub
>>> rm -r ../tempwords
>>
>>
>> It does the trick for me locally anyhow.
>>
>> So that completes my AmForth conversion via AmForth Weekend 1
>> :P
>>
>> All the best (until the next one),
>> Mark
>>
>>
>> On Thu, Jul 16, 2020 at 11:02 AM Mark Roth  wrote:
>>
>>> Of those you see in the list, there are about 20 .asm files that aren't
>>> included in even the 8k core build. I jammed about a dozen of them into my
>>> appl_core dictionary include file just to try and fill it up. Plus of
>>> course the hardware drivers that wouldn't be included anyhow if you don't
>>> need them. I should probably go through my notes and start making patches
>>> for all the files I changed so they can be vetted. I'm sure I made some
>>> errors (or just didn't know from looking at the comments) that would need
>>> to be sorted out. :)
>>>
>>> On Thu, Jul 16, 2020 at 9:53 AM Tristan Williams 
>>> wrote:
>>>
 Hello Mark,

 Brilliant! There are AmForth words there I hadn't realised it had.

 Best wishes,
 Tristan

 On 16Jul20 00:49, Mark Roth wrote:
 > It's almost there at least as a page that can temporarily replace the
 > temporary v5.5 one. This is generated from the current svn sources and
 > consists of the avr8 and common words directories. I cleaned up as
 many of
 > the files that I could (and those will for sure need some Forth eyes
 on
 > them) by taking info from older versions when the comment block was
 > missing. The entire thing is generated by copying the avr8/words and
 > common/words into a temp directory then running the refcard python
 file
 > against that. You can take a look at it here.
 > http://ipreferpi.eu/htdocs/TG/refcard.html
 >
 > On Mon, Jul 13, 2020 at 10:19 PM Mark Roth 
 wrote:
 >
 > > I see there are a few duplicates but I'm not really sure why. Like
 > > RECOGNIZE from recognize.asm. It must have something to do with the
 way the
 > > msp430 header is formatted that is different from other ones since
 it isn't
 > > all of them. I'm sure it is in that voodoo of slashes somewhere...
 > >
 > > all the best,
 > > Mark
 > >
 > >>
 > >> CLIPPED
 >
 > ___
 > Amforth-devel mailing list for http://amforth.sf.net/
 > Amforth-devel@lists.sourceforge.net
 > https://lists.sourceforge.net/lists/listinfo/amforth-devel
 >


 ___
 Amforth-devel mailing list for http://amforth.sf.net/
 Amforth-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/amforth-devel

>>>

___
Amforth-devel mailing list for http://amforth.sf.net/
Amforth-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amforth-devel