Mitchell Blank Jr
d1cd10421f
change example code to do mrb_close()
...
I was hoping this would cause valgrind to complain less, but there is still
a lot of memory leaked (does mrb_close() actually free all of the managed
blocks?) Anyway this helps somewhat and is good practice
2012-05-22 01:03:54 -07:00
Yukihiro Matsumoto
d0a7b08303
mirb code termination policy changed
2012-05-19 22:20:16 +09:00
Yukihiro Matsumoto
d10aec8aa9
mirb termination command renamed to quit
2012-05-19 22:10:46 +09:00
Yukihiro Matsumoto
7701795951
unterminated string detection made easy
2012-05-19 22:10:15 +09:00
Yukihiro Matsumoto
2ed31892a8
should initialize p->sterm every parse time
2012-05-19 17:52:41 +09:00
Yukihiro Matsumoto
04cafb7fb3
even smarter expression termination detection
2012-05-19 16:44:36 +09:00
Yukihiro Matsumoto
6f6c270bb1
mirb should detect end of expression smarter
2012-05-19 16:15:11 +09:00
mattn
751d391aab
don't close stdin.
2012-05-18 15:36:18 +09:00
Yukihiro Matsumoto
f7406435f3
mruby should read from stdin when no argument given
2012-05-18 14:51:27 +09:00
Yukihiro Matsumoto
f81ddf9025
terminate programs after showing version/copyright
2012-05-18 14:49:09 +09:00
Yukihiro Matsumoto
f4bacab18b
rename ruby_show_version to mrb_show_version
2012-05-18 14:45:05 +09:00
Yukihiro Matsumoto
fb60a2191a
revise version description
2012-05-18 14:41:00 +09:00
Yukihiro Matsumoto
219162117a
move compile.h to mruby/compile.h
2012-05-18 12:54:23 +09:00
Yukihiro Matsumoto
61d8bb132e
keep toplevel local variables; close #133
2012-05-18 11:04:36 +09:00
Yukihiro Matsumoto
a18fb01b03
new API for parser
2012-05-18 11:03:43 +09:00
Yukihiro Matsumoto
e67c03529d
Merge branch 'master' of github.com:mruby/mruby
2012-05-17 23:49:12 +09:00
Yukihiro Matsumoto
434ed1ed7c
compile error should contain line number
2012-05-17 23:46:55 +09:00
nkshigeru
bd485b5940
avoid passing NULL to fopen
2012-05-17 15:54:34 +09:00
Yukihiro Matsumoto
3e3a8c18b9
avoid updating existing libmruby.a to avoid problems on low time resolution file systems; close #136
2012-05-17 12:13:24 +09:00
Yukihiro Matsumoto
1bc0c12096
Makefile: remove echo action from all target
2012-05-15 16:40:45 +09:00
Yukihiro Matsumoto
8085817cb5
make test restructuring
2012-05-14 23:04:13 +09:00
Daniel Bovensiepen
c8c0ef85bc
mrit - Embeddable Ruby ISO Test
2012-05-14 20:21:31 +08:00
Yukihiro Matsumoto
69c1b9b797
avoid c++ style comments
2012-05-12 23:47:09 +09:00
Yukihiro Matsumoto
2dcc0ab656
breaking newline before else
2012-05-12 23:44:31 +09:00
Yukihiro Matsumoto
260f41ed63
no #include unistd.h stdbool; close #124
2012-05-12 23:43:09 +09:00
Daniel Bovensiepen
b3467ef4af
Add additional hint to the code block guesser.
2012-05-12 00:59:18 +08:00
Daniel Bovensiepen
438042ffce
Remove more unnecessary elements
2012-05-12 00:41:33 +08:00
Daniel Bovensiepen
ab378085de
Remove unnecessary elements
2012-05-12 00:38:58 +08:00
Daniel Bovensiepen
917d70e31b
mirb - Embeddable Interactive Ruby Shell
2012-05-12 00:27:45 +08:00
Yukihiro Matsumoto
98953cdb8f
include string.h instead of memory.h; close #108
2012-05-08 11:55:16 +09:00
Yukihiro Matsumoto
f3599bb442
library file name renamed to libmruby.a on all platforms
2012-05-03 23:42:38 +09:00
Yukihiro Matsumoto
0026d5ff82
run make -c mrblib from top
2012-05-02 16:46:13 +09:00
Yukihiro Matsumoto
39cf53d028
rename ritevm.a to mruby.a
2012-05-02 10:11:56 +09:00
roco
4ec6d41f16
rm whitespace
2012-04-30 14:29:19 -07:00
Yukihiro Matsumoto
db999237bc
build process restructured
2012-04-30 10:58:36 +09:00
Yukihiro Matsumoto
f8fb9474aa
add -O3 to CFLAGS by default
2012-04-30 00:27:25 +09:00
Yukihiro Matsumoto
c8f8f8396c
initialize ARGV when program is specified by -e
2012-04-27 18:31:02 +09:00
mattn
6d02f784ac
add ARGV.
2012-04-27 15:06:38 +09:00
mattn
de7a596a2a
use mrb_free().
2012-04-26 11:14:19 +09:00
Yukihiro Matsumoto
0486c48b1a
do not use strdup(3) that use malloc(3) inside; should use mrb_malloc()
2012-04-26 08:43:05 +09:00
Yukihiro Matsumoto
e26bf08e39
tools/mruby: multiple -e should concatenate command line args
2012-04-25 22:57:12 +09:00
Yukihiro Matsumoto
140b9cad8b
Merge branch 'master' of github.com:mruby/mruby
2012-04-25 11:50:21 +09:00
Yukihiro Matsumoto
86946043c3
disclose mrb_top_self() and use it in mruby.c
2012-04-25 11:50:03 +09:00
Yukihiro "Matz" Matsumoto
68b76fcdec
Merge pull request #50 from mattn/e_flag
...
add -e flag.
2012-04-24 19:39:59 -07:00
mattn
bc41445714
add -e flag.
2012-04-25 10:16:38 +09:00
mattn
2c64c712db
return 0 if code is generated.
2012-04-25 09:43:10 +09:00
Yukihiro Matsumoto
8b367098ac
move header files {irep,dump,cdump,ritehash}.h to /include/mruby
2012-04-24 17:41:28 +09:00
Yuichiro MASUI
f9d4a5a02b
Fixed to forget to remove some files on 'make clean'
2012-04-23 03:06:01 +09:00
Patrick Hogan
c8c90d3644
Fixed typos in usage message.
2012-04-20 09:22:30 -05:00
mattn
975031cd2b
fix Makefile: quoted CC/LL are heap up to each Makefiles.
2012-04-20 10:56:12 +09:00