Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[wip] Regular expressions #498

Open
wants to merge 34 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
befe7e3
RegexReader for #" syntax
mks-m Feb 7, 2016
eb56a16
fetch re2 and cre2
mks-m Feb 9, 2016
86c23bd
build re2 and cre2
mks-m Feb 13, 2016
a0615e2
parse regexp syntax into regexp call instead of re2, define regexp in…
mks-m Feb 13, 2016
ab35e3f
strip regex.pxi
mks-m Feb 13, 2016
6a1068d
delete using find flag
mks-m Feb 18, 2016
8bcad2f
import version fun
mks-m Feb 18, 2016
6002ef0
merge master
mks-m Feb 18, 2016
495d090
drop regexp from stdlib, regex literals only work if pixie.regex/rege…
mks-m Feb 18, 2016
95c2e2a
match function
mks-m Feb 18, 2016
31a95b6
fix tar unzip flag
mks-m Feb 18, 2016
5b0e880
initial attempt at protocols and records
mks-m Feb 18, 2016
eaedfb3
swappable engine and finalizable regex object
mks-m Feb 19, 2016
c9de43f
use latest cre2 release, verify checksums of re2 and cre2
mks-m Feb 19, 2016
f126af8
checksum the right file
mks-m Feb 19, 2016
846fd23
fix tar flag for xz unzipping
mks-m Feb 19, 2016
81a0484
try to get travis install newer g++
mks-m Feb 19, 2016
bab4537
install g++4.8
mks-m Feb 19, 2016
318e893
compile re2 with -fPIC
mks-m Feb 19, 2016
0d97aa3
extract cre2 out of pixie.re
mks-m Feb 19, 2016
466489a
move pixie.cre2 into pixie.re.cre2, move everything cre2 related out …
mks-m Feb 19, 2016
b9907ad
link cre2 into lib/ and include/
mks-m Feb 19, 2016
1b8a296
compile pixie/re/cre2.pxi during build
mks-m Feb 19, 2016
8a044d0
define re-* in stdlib
mks-m Feb 21, 2016
4c61558
use dashes for non-C names, fake matches sequence
mks-m Feb 25, 2016
fa24025
Added iterate function and tests
oholiab Feb 11, 2016
6dce9e3
Added IReduce to iterate
oholiab Feb 12, 2016
8151bf8
find python using which -a
mks-m Feb 13, 2016
dd01268
Refactored iterate into type and added IReduce
oholiab Feb 15, 2016
f6c402e
Added mkdtmp to stdlib
oholiab Feb 18, 2016
f891c5c
Added rmdir to stdlib
oholiab Feb 18, 2016
72a76a4
Added mkdir and rm
oholiab Feb 18, 2016
81c5788
fixes the speed of iterates reduce
thomasmulvaney Feb 19, 2016
39956c4
merge master
mks-m May 1, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Added mkdir and rm
  • Loading branch information
oholiab authored and mks-m committed May 1, 2016
commit 72a76a46b10b8d1d238fb3648101ea13d10cb79f
2 changes: 2 additions & 0 deletions pixie/stdlib.pxi
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@
(def fopen (ffi-fn libc "fopen" [CCharP CCharP] CVoidP))
(def fread (ffi-fn libc "fread" [CVoidP CInt CInt CVoidP] CInt))
(def mkdtemp (ffi-fn libc "mkdtemp" [CCharP] CCharP))
(def mkdir (ffi-fn libc "mkdir" [CCharP] CCharP))
(def rmdir (ffi-fn libc "rmdir" [CCharP] CCharP))
(def rm (ffi-fn libc "remove" [CCharP] CCharP))

(def libm (ffi-library (str "libm." pixie.platform/so-ext)))
(def atan2 (ffi-fn libm "atan2" [CDouble CDouble] CDouble))
Expand Down