potion_str 71 core/ast.c return potion_str(P, potion_ast_names[t->part]); potion_str 178 core/file.c str = potion_str(P, buf); potion_str 189 core/file.c return potion_str(P, line); potion_str 199 core/file.c PN PN_env = potion_str(P, "%ENV"); potion_str 201 core/file.c PN PN_env = potion_str(P, "Env"); potion_str 206 core/file.c potion_str(P, key + 1)); potion_str 37 core/load.c PN_compile, potion_str(P, filename), PN_NIL), potion_str 230 core/load.c PN_PUSH(pn_loader_path, potion_str(P, "lib/potion")); potion_str 231 core/load.c PN_PUSH(pn_loader_path, potion_str(P, POTION_PREFIX"/lib/potion")); potion_str 232 core/load.c PN_PUSH(pn_loader_path, potion_str(P, ".")); potion_str 239 core/load.c potion_define_global(P, potion_str(P, LOADER_PATH), pn_loader_path); potion_str 140 core/number.c return potion_str(P, ints); potion_str 482 core/objmodel.c return potion_str(P, "<ref>"); potion_str 496 core/objmodel.c return potion_str(P, "<object>"); potion_str 554 core/objmodel.c PN_IS_METACLASS(self) ? potion_str(P, "<metaclass>") : potion_str(P, "<class>"); potion_str 592 core/objmodel.c ((struct PNVtable *)vt)->meta->name = potion_str(P, meta_str); potion_str 608 core/objmodel.c potion_table_put(P, PN_NIL, about, potion_str(P, "_why"), potion_str 609 core/objmodel.c potion_str(P, "“I love _why, but learning Ruby from him is like trying to learn to pole vault " potion_str 611 core/objmodel.c potion_table_put(P, PN_NIL, about, potion_str(P, "minimalism"), potion_str 612 core/objmodel.c potion_str(P, "“The sad thing about ‘minimalism’ is that it has a name.” " potion_str 614 core/objmodel.c potion_table_put(P, PN_NIL, about, potion_str(P, "stage fright"), potion_str 615 core/objmodel.c potion_str(P, "“Recently no move on Potion. I git pull everyday.” " potion_str 617 core/objmodel.c potion_table_put(P, PN_NIL, about, potion_str(P, "terms of use"), potion_str 618 core/objmodel.c potion_str(P, "“Setting up my new anarchist bulletin board so that during registration, if you accept " potion_str 620 core/objmodel.c potion_table_put(P, PN_NIL, about, potion_str(P, "help"), potion_str 621 core/objmodel.c potion_str(P, "`man which` - Evan Weaver")); potion_str 622 core/objmodel.c potion_table_put(P, PN_NIL, about, potion_str(P, "ts"), potion_str 623 core/objmodel.c potion_str(P, "“pigeon%” - Guy Decoux (1955 - 2008)")); potion_str 624 core/objmodel.c potion_table_put(P, PN_NIL, about, potion_str(P, "summary"), potion_str 625 core/objmodel.c potion_str(P, "“I smell as how a leprechaun looks.” - Alana Post")); potion_str 666 core/objmodel.c potion_init_class_reference(P, potion_str(P, LOBBY_NAME), P->lobby); potion_str 667 core/objmodel.c potion_init_class_reference(P, potion_str(P, "Mixin"), PN_VTABLE(PN_TVTABLE)); potion_str 668 core/objmodel.c potion_init_class_reference(P, potion_str(P, "Object"), PN_VTABLE(PN_TOBJECT)); potion_str 669 core/objmodel.c potion_init_class_reference(P, potion_str(P, NILKIND_NAME), PN_VTABLE(PN_TNIL)); potion_str 670 core/objmodel.c potion_init_class_reference(P, potion_str(P, NUMBER_NAME), PN_VTABLE(PN_TNUMBER)); potion_str 671 core/objmodel.c potion_init_class_reference(P, potion_str(P, "Boolean"), PN_VTABLE(PN_TBOOLEAN)); potion_str 672 core/objmodel.c potion_init_class_reference(P, potion_str(P, STRING_NAME), PN_VTABLE(PN_TSTRING)); potion_str 673 core/objmodel.c potion_init_class_reference(P, potion_str(P, "Table"), PN_VTABLE(PN_TTABLE)); potion_str 674 core/objmodel.c potion_init_class_reference(P, potion_str(P, "Function"), PN_VTABLE(PN_TCLOSURE)); potion_str 675 core/objmodel.c potion_init_class_reference(P, potion_str(P, "Tuple"), PN_VTABLE(PN_TTUPLE)); potion_str 676 core/objmodel.c potion_init_class_reference(P, potion_str(P, "File"), PN_VTABLE(PN_TFILE)); potion_str 677 core/objmodel.c potion_init_class_reference(P, potion_str(P, "Potion"), PN_VTABLE(PN_TSTATE)); potion_str 678 core/objmodel.c potion_init_class_reference(P, potion_str(P, "Source"), PN_VTABLE(PN_TSOURCE)); potion_str 679 core/objmodel.c potion_init_class_reference(P, potion_str(P, "Bytes"), PN_VTABLE(PN_TBYTES)); potion_str 680 core/objmodel.c potion_init_class_reference(P, potion_str(P, "Compiled"), PN_VTABLE(PN_TPROTO)); potion_str 681 core/objmodel.c potion_init_class_reference(P, potion_str(P, "Ref"), PN_VTABLE(PN_TWEAK)); potion_str 682 core/objmodel.c potion_init_class_reference(P, potion_str(P, "Lick"), PN_VTABLE(PN_TLICK)); potion_str 683 core/objmodel.c potion_init_class_reference(P, potion_str(P, "Error"), PN_VTABLE(PN_TERROR)); potion_str 684 core/objmodel.c potion_init_class_reference(P, potion_str(P, "Continuation"), PN_VTABLE(PN_TCONT)); potion_str 685 core/objmodel.c potion_init_class_reference(P, potion_str(P, "Num"), PN_VTABLE(PN_TDECIMAL)); potion_str 207 core/potion.h #define PN_STR(x) potion_str(P, x) potion_str 755 core/potion.h potion_send(RCV, PN_def, potion_str(P, MSG), PN_FUNC(FN, SIG)) potion_str 757 core/potion.h potion_send(((struct PNVtable *)(RCV))->meta, PN_def, potion_str(P, MSG), PN_FUNC(FN, SIG)) potion_str 790 core/potion.h PN potion_str(Potion *, const char *); potion_str 86 core/primitive.c if (PN_TEST1(self)) return potion_str(P, "true"); potion_str 87 core/primitive.c return potion_str(P, "false"); potion_str 105 core/primitive.c potion_send(nil_vt, PN_def, PN_string, potion_str(P, NIL_NAME)); potion_str 106 front/p2.c code = potion_send(code, PN_compile, potion_str(P, filename), PN_NIL); potion_str 192 front/p2.c code = potion_send(code, potion_str(P, "dump"), potion_str 193 front/p2.c potion_str(P, compile), opts ? potion_str(P, opts) : PN_NIL); potion_str 261 front/p2.c potion_loader_add(P, potion_str(P, extra_path)); potion_str 267 front/p2.c potion_loader_add(P, potion_str(P, argv[i+1])); potion_str 327 front/p2.c potion_define_global(P, potion_str(P, "$0"), potion_str(P, "-E")); potion_str 328 front/p2.c if (arg) buf = potion_str(P, arg); potion_str 333 front/p2.c potion_define_global(P, potion_str(P, "$0"), potion_str(P, "-e")); potion_str 334 front/p2.c if (arg) buf = potion_str(P, arg); potion_str 347 front/p2.c potion_define_global(P, potion_str(P, "$P2::mode"), PN_NUM((P->flags & 0xff))); // first flags word: p5,p2,p6 potion_str 348 front/p2.c potion_define_global(P, potion_str(P, "$P2::execmode"), PN_NUM(exec)); // exec_jit, exec_vm potion_str 349 front/p2.c potion_define_global(P, potion_str(P, "$P2::verbose"), PN_NUM((P->flags & ~0xff) >> 8)); // second flags word potion_str 350 front/p2.c potion_define_global(P, potion_str(P, "$^X"), potion_str(P, argv[0])); potion_str 353 front/p2.c potion_define_global(P, potion_str(P, "$P2::interactive"), PN_NIL); potion_str 369 front/p2.c potion_define_global(P, potion_str(P, "$P2::interactive"), PN_NUM(1)); potion_str 123 front/potion.c code = potion_send(code, PN_compile, potion_str(P, filename), potion_str 124 front/potion.c compile ? potion_str(P, compile): PN_NIL); potion_str 193 front/potion.c potion_str(P, compile), potion_str 279 front/potion.c potion_loader_add(P, potion_str(P, extra_path)); potion_str 285 front/potion.c potion_loader_add(P, potion_str(P, argv[i+1])); potion_str 363 front/potion.c buf = potion_str(P, arg); potion_str 102 lib/aio.c if (cb) cb->method(wrap->P, (PN)cb, (PN)data, potion_str(wrap->P, filename), potion_str 281 lib/buffile.c str = potion_str(P, buf); potion_str 58 lib/pcre/pcre.c PN mat_vt = potion_type_new2(P, PN_TUSER, PN_VTABLE(PN_TLICK), potion_str(P, "Match")); potion_str 17 lib/readline/readline.c r = potion_str(P, line); potion_str 97 test/api/gc-bench.c PN_TUPLE_AT(ary, 0) = PN_left = potion_str(P, "left"); potion_str 98 test/api/gc-bench.c PN_TUPLE_AT(ary, 1) = PN_right = potion_str(P, "right"); potion_str 26 test/api/p2-test.c PN_FALSE == potion_send(PN_NIL, potion_str(P, "defined"))); potion_str 29 test/api/p2-test.c PN_TRUE == potion_send(num, potion_str(P, "defined"))); potion_str 39 test/api/p2-test.c 490 == PN_INT(potion_send(zero, potion_str(P, "+"), num))); potion_str 48 test/api/p2-test.c 11381 == PN_INT(potion_send(pos, potion_str(P, "+"), num))); potion_str 57 test/api/p2-test.c -3853 == PN_INT(potion_send(neg, potion_str(P, "+"), num))); potion_str 69 test/api/p2-test.c 6 == PN_INT(potion_send(PN_string, potion_str(P, "length")))); potion_str 77 test/api/p2-test.c PN_INT(potion_send(empty, potion_str(P, "length"))), 0); potion_str 88 test/api/p2-test.c PN_INT(potion_send(tup, potion_str(P, "length"))), 3); potion_str 100 test/api/p2-test.c PN add = p2_eval(P, potion_str(P, "sub($x,$y){$x+$y}")); potion_str 22 test/api/potion-test.c PN_TRUE == potion_send(PN_NIL, potion_str(P, "nil?"))); potion_str 38 test/api/potion-test.c 490 == PN_INT(potion_send(zero, potion_str(P, "+"), num))); potion_str 47 test/api/potion-test.c 11381 == PN_INT(potion_send(pos, potion_str(P, "+"), num))); potion_str 56 test/api/potion-test.c -3853 == PN_INT(potion_send(neg, potion_str(P, "+"), num))); potion_str 68 test/api/potion-test.c 6 == PN_INT(potion_send(PN_string, potion_str(P, "length")))); potion_str 76 test/api/potion-test.c 0, PN_INT(potion_send(empty, potion_str(P, "length")))); potion_str 87 test/api/potion-test.c 3, PN_INT(potion_send(tup, potion_str(P, "length")))); potion_str 148 test/api/potion-test.c vPN(Closure) f1 = PN_CLOSURE(potion_eval(P, potion_str(P, "(x,y):x+y."))); potion_str 167 test/api/potion-test.c add = potion_eval(P, potion_str(P, "(x, y): x + y.")); potion_str 173 test/api/potion-test.c add = potion_eval(P, potion_str(P, "(x=N|y=N): x + y.")); potion_str 180 test/api/potion-test.c add = potion_eval(P, potion_str(P, "(x=N,y:=1): x + y.")); potion_str 189 test/api/potion-test.c add = potion_eval(P, potion_str(P, "(x, y): x + y.")); potion_str 198 test/api/potion-test.c add = potion_eval(P, potion_str(P, "(x=N|y=N): x + y.")); potion_str 206 test/api/potion-test.c add = potion_eval(P, potion_str(P, "(x=N|y:=1): x + y."));