objective c - Say I didn't like the syntax of objC blocks... (or: how to customize llvm a little bit) -
...is there it?
to more precise, replace caret "^" "§" - granted, there's not left on keyboard that's not in use already.
after thinking while (dismissed using run script build phases along way) think way custom llvm build.
while don't quite think i'm ready deal internals of compilers, have naive hope replacing 1 symbol isn't hard. , idea of building , running own version of compiler tickles me, deal of childish fun.
so started poking around in llvm sources, - surprise - got far.
if familiar these kind of things, please point me place at?
that awesome! thanks!
extending llvm can bit of hassle, considering how fast-moving compiler team is, it's thing don't have to. c preprocessor exists perform exact same thing you've outlined (text replacement). i'm sure § isn't aliased important, #define § ^
should work great. if still want write own module, llvm provides instructions on how extend compiler.
Comments
Post a Comment