first commit

This commit is contained in:
Araq 2015-07-17 10:22:09 +02:00
commit d2f10f3bbc
84 changed files with 13382 additions and 0 deletions

7
livedemo/codegendecl.nim Normal file
View file

@ -0,0 +1,7 @@
var
a {.codegenDecl: "$# progmem $#".}: int
proc myinterrupt() {.codegenDecl: "$# __interrupt $#$# __attribute__(weirdo)",
exportc: "nim_interrupt".} =
echo "realistic interrupt handler"