parent
6401523405
commit
508fe2f2c4
|
@ -72,7 +72,7 @@ have an if/then/else expression plus a simple 'for' loop.</p>
|
|||
|
||||
<p>
|
||||
Extending Kaleidoscope to support if/then/else is quite straightforward. It
|
||||
basically requires adding lexer support for this "new" concept to the lexer,
|
||||
basically requires adding support for this "new" concept to the lexer,
|
||||
parser, AST, and LLVM code emitter. This example is nice, because it shows how
|
||||
easy it is to "grow" a language over time, incrementally extending it as new
|
||||
ideas are discovered.</p>
|
||||
|
|
Loading…
Reference in New Issue