Commit Graph

726 Commits

Author SHA1 Message Date
Yuichi Nishiwaki d6abb5c0ba add defvar 2014-01-12 16:09:27 +09:00
Yuichi Nishiwaki 10e5546a53 functions defined by pic_defun will be implicitly renamed 2014-01-12 16:09:19 +09:00
Yuichi Nishiwaki 11ead27614 wrapper/unwrapper for var-proc conversion 2014-01-12 16:08:27 +09:00
Yuichi Nishiwaki fadcad2d7f C APIs to modify global varaibles 2014-01-12 16:06:57 +09:00
Yuichi Nishiwaki 133e4c00bd leave a comment about conv parameter of pic_new_var is nullable 2014-01-12 16:05:42 +09:00
Yuichi Nishiwaki 944111ba09 make gensym API public 2014-01-12 16:03:36 +09:00
Yuichi Nishiwaki 68f0eb97c9 pic_symbol_p macro is replaced with pic_sym_p 2014-01-12 13:15:41 +09:00
Yuichi Nishiwaki 825cde998b s/pic_proc_cv_reserve/pic_proc_cv_init/g 2014-01-12 13:02:16 +09:00
Yuichi Nishiwaki 9b7f4f2979 Merge branch 'er-macro' 2014-01-11 13:02:59 +09:00
Yuichi Nishiwaki 9513ae6a7a [bugfix] wrong external representation for syntax type 2014-01-11 13:00:21 +09:00
Yuichi Nishiwaki aabcbdad79 fix a small bug in a comment 2014-01-11 13:00:21 +09:00
Yuichi Nishiwaki 82dd55f77f er macro no longer requires identifier? defined 2014-01-11 12:56:51 +09:00
Yuichi Nishiwaki 64855bfcec er-macro-transformer is no longer defined using sc 2014-01-11 12:56:07 +09:00
Yuichi Nishiwaki c66a217e87 Types that can be passed to the rename procedure is only a symbol 2014-01-11 12:55:34 +09:00
Yuichi Nishiwaki 45c49fdec3 don't rename each symbol more than a time 2014-01-10 17:55:58 +09:00
Yuichi Nishiwaki 62e52be061 [bugfix] macroexpand may return a non-symbol value even if passed a symbol. 2014-01-10 17:55:13 +09:00
Yuichi Nishiwaki 57253f9a6c compare is allowed to take non-symbol values 2014-01-10 17:52:31 +09:00
Yuichi Nishiwaki a159e52ae6 [bugfix] wrong error message 2014-01-10 17:49:27 +09:00
Yuichi Nishiwaki 6bdc9b360e [bugfix] wrong external representation for syntax type 2014-01-10 16:22:36 +09:00
Yuichi Nishiwaki 2e66b533c1 fix a small bug in a comment 2014-01-10 16:22:07 +09:00
Yuichi Nishiwaki 9b02247082 initial explicit renaming macro prototype 2014-01-09 16:34:22 +09:00
Yuichi Nishiwaki 8e4e226bd3 pic_get_args supports symbol 2014-01-09 16:33:38 +09:00
Yuichi Nishiwaki bc232acf9f initialize submodules in make 2014-01-09 15:30:44 +09:00
Yuichi Nishiwaki e12a2b62f6 update readme 2014-01-09 00:43:03 +09:00
Yuichi Nishiwaki e8a50410a5 suppress unreachable warnings 2014-01-09 00:42:23 +09:00
Yuichi Nishiwaki 76f8916dca show debug print when a library is reopened 2014-01-09 00:40:13 +09:00
Yuichi Nishiwaki d0713456ef add make-parameter and parameterize 2014-01-09 00:39:45 +09:00
Yuichi Nishiwaki a9f4eff13e add parameter primitives: (picrin parameter) library 2014-01-09 00:39:13 +09:00
Yuichi Nishiwaki d7c510ae40 parameter implementation prototype 2014-01-09 00:38:09 +09:00
Yuichi Nishiwaki 88ce10e9fe add defvar declaration (just a prototype. no definition) 2014-01-09 00:36:44 +09:00
Yuichi Nishiwaki 92ceedbd15 add accessor functions to modify closed variables 2014-01-08 22:45:28 +09:00
Yuichi Nishiwaki e3e1ba4c11 rename procedure creation functions 2014-01-08 22:44:53 +09:00
Yuichi Nishiwaki e7f765d218 pic_get_args supports pic_procs 2014-01-08 20:53:28 +09:00
Yuichi Nishiwaki b9ef51530f don't intern symbols newly generated by new_uniq_sym 2014-01-08 20:41:29 +09:00
Yuichi Nishiwaki 8273659bd0 [bugfix] `do` macro should execute epilogue expressions iff test
evaluates *true*
2014-01-08 20:18:44 +09:00
Yuichi Nishiwaki fbffa4697a import repl libraries by default 2014-01-08 15:38:47 +09:00
Yuichi Nishiwaki dccc234fd9 add pic_import 2014-01-08 15:38:31 +09:00
Yuichi Nishiwaki 33cbf5ff6a configurable none value 2014-01-08 15:22:23 +09:00
Yuichi Nishiwaki e067ab64c9 Merge pull request #13 from omasanori/isoc-part-1
Improve ISO C Conformance and Remove Warnings: Part 1
2014-01-07 21:56:07 -08:00
OGINO Masanori ceffd8a3bd Cast to `void *` for '%p' format specifiers.
Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>
2014-01-05 18:10:33 +09:00
OGINO Masanori da1eb0bc10 Remove '\e'. The escape sequence is not in ISO C.
Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>
2014-01-05 18:00:02 +09:00
Yuichi Nishiwaki be22f63378 Merge pull request #8 from omasanori/fix-include
Include string.h and stdlib.h at all time.
2014-01-04 23:22:40 -08:00
Yuichi Nishiwaki 259766f4d5 Merge pull request #9 from omasanori/without-rl
Fix warnings when !PIC_ENABLE_READLINE.
2014-01-04 23:22:29 -08:00
Yuichi Nishiwaki 99c398e300 Merge pull request #10 from omasanori/fix-import
Add (import ...) to etc/tak.scm and t/*.scm.
2014-01-04 23:22:09 -08:00
OGINO Masanori 61f0852b82 Include string.h and stdlib.h at all time.
Even if readline support is disabled, some functions declared in
string.h and stdlib.h are used. (e.g. strlen and exit)

Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>
2014-01-05 16:12:17 +09:00
OGINO Masanori ebda32d108 Add (import ...) to etc/tak.scm and t/*.scm.
Note that this commit only fixes 'unbound variable' errors. For now
t/dynamic-wind.scm, t/exception.scm and t/ir-macro.scm seem buggy on my
Linux (amd64) machine.

Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>
2014-01-05 16:11:32 +09:00
OGINO Masanori 9681301ab4 Fix warnings when !PIC_ENABLE_READLINE.
Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>
2014-01-05 16:06:14 +09:00
Yuichi Nishiwaki fbe9bb7a38 remove NOTICE message on readme 2013-12-28 02:48:09 -08:00
Yuichi Nishiwaki c52b15e5b8 update readme 2013-12-10 09:50:30 -08:00
Yuichi Nishiwaki 55105dc14f gather utility functions which are necessary in bootstrap stage 2013-12-10 09:14:08 -08:00