drh/lcc
View on GitHub ↗ ★ 2,635 C
The lcc retargetable ANSI C compiler
6 mentions on Hacker News by 6 people: 0 stories, 6 comments · first 2012-07-21 · latest 2023-08-12
20082026
-
…/mirrors.ctan.org/info/knuth-pdf/tex/tex.pdf [2] http://mirrors.ctan.org/info/knuth-pdf/mf/mf.pdf [3] https://github.com/drh/lcc [4] https://pbr-book.org/ [5] http://v6.cuzuco.com/ [6] https://github.com/ForthHub/cmFORTH/blob/combined/cmfor…
comment by mananaysiempre · 2023-08-12 · in Exploring the Internals of Linux v0.01 -
…A Retargetable C Compiler: Design and Implementation (Addison-Wesley, 1995, ISBN 0-8053-1670-1) [2] https://github.com/drh/lcc
comment by 4ad · 2019-11-12 · in GNU Compiler Collection Internals [pdf] -
LCC's for statement is also clean and understandable. https://github.com/drh/lcc/blob/master/src/stmt.c#L263
comment by ksherlock · 2015-12-04 · in Self hosted C – breakdown -
…http://www.cs.princeton.edu/software/lcc/ https://sites.google.com/site/lccretargetablecompiler/ https://github.com/drh/lcc/tree/master If anyone has found the mentioned lcc-s code, please post a link.
comment by jcr · 2015-07-21 · in A C Compiler for Stack Machines (2006) [pdf] -
…but this was a neat trick. Every piece of information related to a token is defined in one place: https://github.com/drh/lcc/blob/master/src/token.h Then here's how it's used: https://github.com/drh/lcc/blob/master/src/expr.c#L8…
comment by spatulon · 2014-08-04 · in Show HN: A small virtual machine written in C -
…accompanying book by Fraser and Hanson that covers the complete source as a "literate program". https://github.com/drh/lcc/blob/master/src/lex.c http://www.amazon.com/exec/obidos/ASIN/0805316701/mqq-20
comment by ralph · 2012-07-21 · in Ask HN: What are the top open source software written in C?