1 /**********************************************************************
6 created at: Thu Jul 12 04:37:51 2007
8 Copyright (C) 2004-2007 Koichi Sasada
10 **********************************************************************/
12 #include "ruby/ruby.h"
22 symIFUNC
= ID2SYM(rb_intern("<IFUNC>"));
23 symCFUNC
= ID2SYM(rb_intern("<CFUNC>"));
26 idPLUS
= rb_intern("+");
27 idMINUS
= rb_intern("-");
28 idMULT
= rb_intern("*");
29 idDIV
= rb_intern("/");
30 idMOD
= rb_intern("%");
31 idLT
= rb_intern("<");
32 idLTLT
= rb_intern("<<");
33 idLE
= rb_intern("<=");
34 idGT
= rb_intern(">");
35 idGE
= rb_intern(">=");
36 idEq
= rb_intern("==");
37 idEqq
= rb_intern("===");
38 idBackquote
= rb_intern("`");
39 idEqTilde
= rb_intern("=~");
40 idNot
= rb_intern("!");
41 idNeq
= rb_intern("!=");
43 idAREF
= rb_intern("[]");
44 idASET
= rb_intern("[]=");
46 idEach
= rb_intern("each");
47 idTimes
= rb_intern("times");
48 idLength
= rb_intern("length");
49 idLambda
= rb_intern("lambda");
50 idIntern
= rb_intern("intern");
51 idGets
= rb_intern("gets");
52 idSucc
= rb_intern("succ");
53 idEnd
= rb_intern("end");
54 idRangeEachLT
= rb_intern("Range#each#LT");
55 idRangeEachLE
= rb_intern("Range#each#LE");
56 idArrayEach
= rb_intern("Array#each");
57 idMethodMissing
= rb_intern("method_missing");
59 idThrowState
= rb_intern("#__ThrowState__");
61 idBitblt
= rb_intern("bitblt");
62 idAnswer
= rb_intern("the_answer_to_life_the_universe_and_everything");
64 idSend
= rb_intern("send");
65 id__send__
= rb_intern("__send__");