Re:Implementing a LLVM Micro C compiler in Haskell
by ash_gti on Friday June 04, 2021 @01:32PM
(#27396255)
They went with a subset of C, its enough to write a working executable. Generally for a introduction tutorial to something as complex as writing a compiler a subset like what they presented in the article is enough to show how all the pieces work together to produce a working compiler.
[ Parent
| on HN ]
Re:Implementing a LLVM Micro C compiler in Haskell
by mikepurvis on Friday June 04, 2021 @04:03PM
(#27398471)
Yup, for the purposes of a demo like this, a simplified top-to-bottom "vertical slice" is of far more value than total feature coverage.