2009年11月15日のブックマーク (2件)

  • プログラミング言語処理

    なお、for文については、作っていないので注意。この他にも、演算子など必要な機能に ついては各自演習で作ること。 tiny Cの文法 以下に、簡単なBNF書式での文法を示す。 小文字は、非終端記号を示す。但し、 variable_name, function_name, array_name, parameter は識別子 大文字は、終端記号。大文字で示してあるIF,RETURN,WHILE,FOR、PRINTLNは、キーワード NUMBERは、10進数。STRINGは、"..."の文字列。 ' 'は、1文字の終端記号。 {...}*は、...の部分の0回以上の繰り返し示す。 [ ]は省略可能の部分を示す。 tiny Cの文法 program := {external_definition}* external_definition:= function_n

  • TCC : Tiny C Compiler

    News [Note: I am no longer working on TCC. Check the mailing list to get up to date information.] Features SMALL! You can compile and execute C code everywhere, for example on rescue disks (about 100KB for x86 TCC executable, including C preprocessor, C compiler, assembler and linker). FAST! tcc generates x86 code. No byte code overhead. Compile, assemble and link several times faster than GCC. UN