This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Shen, copyright (C) 2010-2015 Mark Tarver | |
www.shenlanguage.org, Shen 20.1 | |
running under Java, implementation: Java | |
port 0.2.1 ported by Tatsuya Tsuda | |
(0-) (cd "shen/test")(load "README.shen")(load "tests.shen") | |
"shen/test/" | |
reset | |
test-harness.exec-macro | |
test-harness.rcons |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ rlwrap java -Xms200m -Xmx2g -Xss4m -jar shen-jvm-0.1.0.jar | |
Shen, copyright (C) 2010-2015 Mark Tarver | |
www.shenlanguage.org, Shen 20.1 | |
running under Java, implementation: Java | |
port 0.1.0 ported by Tatsuya Tsuda | |
(0-) (cd "shen/test")(load "README.shen")(load "tests.shen") | |
"shen/test/" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12602491 element? | |
6960375 shen.pvar? | |
3535830 shen.lazyderef | |
3378725 fail | |
2390069 shen.compose | |
2087153 shen.deref | |
2073332 shen.occurs? | |
1900416 <-address/or | |
1716707 assoc | |
1513336 do |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ make repl | |
bin/shen-c | |
Shen, copyright (C) 2010-2015 Mark Tarver | |
www.shenlanguage.org, Shen 19.3.1 | |
running under C, implementation: C | |
port 0.1 ported by Tatsuya Tsuda | |
(0-) (cd "test/shen") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(time (dotimes [i 1000] (vec (range 100000)))) | |
; "Elapsed time: 25342.116 msecs" | |
; => nil | |
;;Transient使った場合 | |
(time (dotimes [i 1000] (into [] (range 100000)))) | |
; "Elapsed time: 14881.906 msecs" | |
; => nil |