Commit Graph

1014 Commits

Author SHA1 Message Date
Yuichi Nishiwaki b64b2c3074 bugfix 2014-04-05 02:44:30 +09:00
Yuichi Nishiwaki 7386460253 s/pic_symbol_value/pic_sym_value/g 2014-04-05 02:21:07 +09:00
Yuichi Nishiwaki eb990b4399 cleanup 2014-04-05 01:30:51 +09:00
Yuichi Nishiwaki 16ad48aade add sc_ prefix to identifer? and identifier=? functions 2014-04-05 01:28:57 +09:00
Yuichi Nishiwaki 1215202f66 cleanup 2014-04-05 01:23:20 +09:00
Yuichi Nishiwaki 9d2ac6b994 inline senv_new 2014-04-05 01:21:16 +09:00
Yuichi Nishiwaki 0d0d4e6482 s/senv_new_local/push_scope/g 2014-04-05 01:20:19 +09:00
Yuichi Nishiwaki 1e5c6d899e s/pic_sc/pic_sc_ptr/g. s/pic_senv/pic_senv_ptr/g. 2014-04-04 13:07:16 +09:00
Yuichi Nishiwaki 4ec8398118 inline macro_new and add_macro 2014-04-04 12:58:28 +09:00
Yuichi Nishiwaki 845778eefb add define_macro 2014-04-04 12:55:51 +09:00
Yuichi Nishiwaki 0823149e4f cleanup 2014-04-04 12:48:26 +09:00
Yuichi Nishiwaki 880c8c2b03 add macroexpand_quote 2014-04-03 22:27:36 +09:00
Yuichi Nishiwaki aba1f5139b remove senv_add_core 2014-04-03 22:26:30 +09:00
Yuichi Nishiwaki 030c7f9034 refactor macro use expander 2014-04-03 22:16:09 +09:00
Yuichi Nishiwaki 113ae32e47 separate macroexpand processing into functions 2014-04-03 22:01:25 +09:00
Yuichi Nishiwaki ffd962290f s/symbol_rename/macroexpand_symbol/g 2014-04-03 01:15:39 +09:00
Yuichi Nishiwaki c0378cb9ae [refactor] use senv_add_core to register core syntaxes 2014-04-03 00:55:34 +09:00
Yuichi Nishiwaki 28edfb5023 implement numerical I/O 2014-04-02 00:06:38 +09:00
Yuichi Nishiwaki b5a307aa88 error on macroexpanding circular objects 2014-04-01 11:40:36 +09:00
Yuichi Nishiwaki e32e42c5f9 support datum label reader 2014-04-01 11:40:20 +09:00
Yuichi Nishiwaki f66c48cc6f load 26.scm at init. 2014-03-31 22:26:31 +09:00
Yuichi Nishiwaki 43071d2c84 refactoring. use boxes. 2014-03-31 22:03:03 +09:00
Yuichi Nishiwaki 01ed285d40 fix #36 2014-03-31 21:59:36 +09:00
Yuichi Nishiwaki 2151640331 add native box API 2014-03-31 21:50:08 +09:00
Yuichi Nishiwaki 3e8d64fdb7 initial regexp support 2014-03-31 20:43:36 +09:00
Yuichi Nishiwaki 4549625182 cleanup 2014-03-31 08:27:04 +09:00
Yuichi Nishiwaki d91ae885b6 add fixed-arity pic_values function 2014-03-31 08:13:06 +09:00
Yuichi Nishiwaki 812ec3a87b fix #84 2014-03-30 14:45:40 +09:00
Yuichi Nishiwaki c3b737037a refactor native_stack_length 2014-03-30 14:45:24 +09:00
Yuichi Nishiwaki a1101296aa refactor pic_gensym 2014-03-29 20:53:20 +09:00
Yuichi Nishiwaki d8c182bc69 add user-defined data type API 2014-03-29 20:42:06 +09:00
Yuichi Nishiwaki 38c4e7e6de implemented simple backtrace 2014-03-29 20:02:11 +09:00
Yuichi Nishiwaki 7b73b37bec cleanup 2014-03-29 09:04:14 +09:00
Yuichi Nishiwaki 0b58624864 no need to handle set!/if/begin syntaces at macroexpansion stage 2014-03-29 09:00:37 +09:00
Yuichi Nishiwaki c5d9972d2e macro transformer should never return macro objects 2014-03-29 08:57:15 +09:00
Yuichi Nishiwaki 464ecdd452 call symbol_rename as much as possible 2014-03-29 08:53:24 +09:00
Yuichi Nishiwaki cf1e1a8746 add pic_proc_name 2014-03-28 12:34:54 +09:00
Yuichi Nishiwaki a304feaa28 show irep names in debug print 2014-03-28 12:29:00 +09:00
Yuichi Nishiwaki 24d6540d56 record procedure name in irep 2014-03-28 12:26:07 +09:00
Yuichi Nishiwaki aeaf33ff47 print cfunction name in debug print 2014-03-28 12:18:32 +09:00
Yuichi Nishiwaki b7d8a2c724 record cfunc procedure names 2014-03-28 12:18:32 +09:00
Yuichi Nishiwaki fbbbf7b019 cleanup 2014-03-28 12:18:24 +09:00
Yuichi Nishiwaki cea7b73840 add pic_list7 2014-03-28 12:11:59 +09:00
Yuichi Nishiwaki 010ee9ddb6 get rid of redundant symbol to value cast 2014-03-28 12:10:09 +09:00
Yuichi Nishiwaki c86c153e53 when procedual-define is analyzed, don't create a lambda expression
inside, call analyze_procedure directly instead.
2014-03-28 12:10:09 +09:00
Yuichi Nishiwaki 3215ba2677 cleanup. move analyze_lambda 2014-03-28 12:10:09 +09:00
Yuichi Nishiwaki e47bd63762 [refactor] add analyze_declare 2014-03-28 12:10:09 +09:00
Yuichi Nishiwaki e2741f8580 [refactor] analyze_define 2014-03-28 12:10:09 +09:00
Yuichi Nishiwaki 9742689c40 Revert "reserve the 0 symbol for system use"
This reverts commit 816343bd31.

Conflicts:
	include/picrin/value.h
	src/state.c
2014-03-27 16:23:22 +09:00
Yuichi Nishiwaki c10f40acd4 change pic_find_rename API 2014-03-27 16:19:55 +09:00