Commit Graph

55 Commits

Author SHA1 Message Date
Yuichi Nishiwaki 69c1c8a916 add -D_GNU_SOURCE for main makeline 2014-01-19 00:33:45 -08:00
Yuichi Nishiwaki b770105f6c fix a bug introduced in a prev commit 2014-02-02 11:23:04 +09:00
Yuichi Nishiwaki cdd58c3ac9 build xfile before compiling picrin 2014-02-02 11:16:33 +09:00
Yuichi Nishiwaki 1e89fbaef1 turn on -std=c99 flag 2014-02-01 18:46:50 +09:00
Yuichi Nishiwaki fbed329ca9 add -Wextra 2014-01-30 14:47:58 +09:00
Yuichi Nishiwaki e195ec7847 add line counter target in makefile 2014-01-18 13:06:56 +09:00
Yuichi Nishiwaki bc232acf9f initialize submodules in make 2014-01-09 15:30:44 +09:00
Yuichi Nishiwaki 12aff8134f too long log will cause travis report an error 2013-12-10 08:06:07 -08:00
Yuichi Nishiwaki 70fee1f0bd add no-act make command 2013-12-05 17:21:52 +09:00
Yuichi Nishiwaki 5577cbb128 do not drop into repl when make is called without arguments 2013-11-29 00:14:51 +09:00
Yuichi Nishiwaki 1ee813382f change default command of make 2013-11-28 23:52:11 +09:00
Yuichi Nishiwaki 24a6f54bc4 rename make debug-build command s/debug-build/debug/g 2013-11-28 18:49:51 +09:00
Yuichi Nishiwaki e28d9e3b71 add -fPIC flag (it's needed when compiling on Linux) 2013-11-21 02:55:08 -08:00
Yuichi Nishiwaki d5f01595b0 fixed #4 2013-11-18 20:24:09 +09:00
Yuichi Nishiwaki 8b46cef71e Revert "change lex option"
This reverts commit e6a0078892.
2013-11-18 20:21:01 +09:00
Yuichi Nishiwaki e6a0078892 change lex option 2013-11-18 20:10:44 +09:00
Yuichi Nishiwaki 7972c5636a statically link libraries 2013-11-17 18:04:38 +09:00
Yuichi Nishiwaki d470997f03 change -O option depending on make rule 2013-11-17 14:39:08 +09:00
Yuichi Nishiwaki 754d53443b s/build-debug/debug-build/g 2013-11-15 17:07:57 +09:00
Yuichi Nishiwaki d415e5cbaf cleanup Makefile 2013-11-09 18:05:59 +09:00
Yuichi Nishiwaki 09fc4b018e Merge branch 'master' of github.com:ktakashi/picrin into ktakashi-master
Conflicts:
	Makefile
2013-11-08 00:44:55 +09:00
ktakashi bb18a33647 Modified Makefile to be able to compile on Cygwin 2013-11-07 10:14:18 +01:00
Syohei YOSHIDA 764be77f3a add '-lm' 2013-11-07 07:49:01 +09:00
Yuichi Nishiwaki dcb3820054 move -g compiler option from default line to debug line 2013-11-06 18:55:38 +09:00
Yuichi Nishiwaki 9fba9bed2b add -O3 flag 2013-11-06 17:32:07 +09:00
Yuichi Nishiwaki 3aa7fe8294 add `make tak` command for benchmark 2013-11-04 23:26:38 -05:00
Yuichi Nishiwaki 979a1dd80b add make release command 2013-10-30 16:36:21 +09:00
Yuichi Nishiwaki 013060a06f fix the order of gcc command line args; -lfoo must be later than src/*.c 2013-10-29 15:53:04 +09:00
Yuichi Nishiwaki 406775e8dc add -g option to the build command line 2013-10-23 15:46:57 +09:00
Yuichi Nishiwaki dd3adf30e6 use xhash to manage scopes during codegin 2013-10-22 22:22:35 +09:00
Yuichi Nishiwaki 38c3aa7faf library option is not needed when compiling a shared library 2013-10-20 21:08:10 +09:00
Yuichi Nishiwaki ce6233b8f7 use simpler way 2013-10-20 21:06:53 +09:00
Yuichi Nishiwaki d5bb5fb68b use wildcard to enumerate all c files under src dir 2013-10-20 20:57:33 +09:00
Yuichi Nishiwaki bb3c8ebf0d move main.c to under tools/ 2013-10-20 20:57:10 +09:00
Yuichi Nishiwaki 0ca07a3d26 update REDME 2013-10-20 18:49:35 +09:00
Yuichi Nishiwaki d57d8ff3c0 place main.c under etc/ 2013-10-20 18:44:26 +09:00
Yuichi Nishiwaki 12e2f10869 add error.c file 2013-10-20 17:26:18 +09:00
Yuichi Nishiwaki 444fc7c750 split codegen and vm 2013-10-20 17:06:47 +09:00
Yuichi Nishiwaki 6faaa5261c add time functions 2013-10-20 12:04:15 +09:00
Yuichi Nishiwaki daac4dd7f3 suppress compiler warnings 2013-10-20 03:05:42 +09:00
Yuichi Nishiwaki 17f0c928da add readline support 2013-10-17 17:08:33 +09:00
Yuichi Nishiwaki a6920c192f add compiler option -Wall 2013-10-16 13:15:43 +09:00
Yuichi Nishiwaki f280b0a5ce add some mathematic functions 2013-10-15 23:26:18 +09:00
Yuichi Nishiwaki b998c903a3 remove eval.c 2013-10-15 21:52:44 +09:00
Yuichi Nishiwaki 2d4a5ed1ea add standard functions: write/newline 2013-10-15 21:14:33 +09:00
Yuichi Nishiwaki 5f90f49604 remove old VM test code 2013-10-12 13:01:48 +09:00
Yuichi Nishiwaki ee3442210c replace evaluator in repl to the VM 2013-10-12 12:55:05 +09:00
Yuichi Nishiwaki 643d8be66d first VM impl 2013-10-12 00:16:19 +09:00
Yuichi Nishiwaki 6b0c1aa668 first eval commit 2013-10-11 17:36:51 +09:00
Yuichi Nishiwaki 25d84c1e8a parser echoing test in main repl 2013-10-11 15:20:53 +09:00