Hacker GitHub

← All repos

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

Mentions per year 6 mentions · busiest year 2015 (2)
20082026
  1. …/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
  2. …A Retargetable C Compiler: Design and Implementation (Addison-Wesley, 1995, ISBN 0-8053-1670-1) [2] https://github.com/drh/lcc
  3. 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
  4. …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.
  5. …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…
  6. …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