From: Matthias T. <mt...@we...> - 2013-03-08 18:30:00
|
Hi Enoch, > Please find in <http://pastebin.com/BRHaitj9> my complete CRC-8 implementation > for peer review and library inclusion if there is interest. Since you put your code under MIT license, there is AFAIK no legal way to combine it with amforth (GPL). IANAL && IMHO. > PS1: Is there any reference implementation for [if] [else] [then]. I need them > and would be ready to help if needed. The file included was the reference implementation. I have no plans to implement these words in the near future (had no use for them for years). > > PS2: I assumed that my amforth-shell.py patch was accepted :-) I hope, Keith would comment on it as well. Another strategy for the constants would be to read the files twice. The first pass extracts the constant definitions and the second pass uses them. If the replacement really saves code space (every literal uses 2 cells in the dictionary). Matthias |