Original PIC source code available
(1) By Richard Hipp (drh) on 2020-02-14 20:23:10 [link] [source]
The original PIC source code is now available for study at https://fossil-scm.org/pic/.
I received this code directly from the original PIC author, Brian Kernighan, together with permission to post it. But its license is unclear. You should probably not reuse any of the code in other projects.
(2) By aitap on 2020-02-14 20:44:37 in reply to 1 [link] [source]
But its license is unclear. You should probably not reuse any of the code in other projects.
But studying the code before writing one's own (while making sure to avoid copying solutions verbatim) is supposed to be okay, right?
(3) By anonymous on 2020-02-14 20:53:38 in reply to 2 [link] [source]
But studying the code before writing one's own
That's a gray area. Much safer to have some one else study the code and create a specifications document. Then design and implement new code from the document.
(4.1) By Brian Tiffin (btiffin) on 2020-02-15 22:03:41 edited from 4.0 in reply to 1 [source]
GNU has gpic. It'll be GPL, but adds an option for study. Source is C++, including the lexer, and bison parts.
http://git.savannah.gnu.org/cgit/groff.git/tree/src/preproc/pic
Have good, make well