Commit graph

1015 commits

Author SHA1 Message Date
Meredith L. Patterson
03e2944ba7 setting up travis for cpp 2014-01-16 19:50:31 +01:00
Meredith L. Patterson
865be1e431 scons bindings=cpp test works 2014-01-16 19:49:28 +01:00
Meredith L. Patterson
1d6a6d90ab C++ bindings now work! 2014-01-16 19:49:28 +01:00
TQ Hirsch
270dc3f1b8 Got test suite building, most of the c++ bindings are implemented. Let's see if they work 2014-01-16 19:49:28 +01:00
Meredith L. Patterson
9e0c0efd77 all tests written, though action/attr_bool are incomplete 2014-01-16 19:48:45 +01:00
TQ Hirsch
bda2fb4741 Added start at C++ bindings 2014-01-16 19:48:45 +01:00
Meredith L. Patterson
fb1410c049 scons bindings=cpp test works 2014-01-16 19:45:32 +01:00
Meredith L. Patterson
7e5e0f00b6 C++ bindings now work! 2014-01-16 18:58:36 +01:00
Meredith L. Patterson
a942880d50 Merge branch 'c++' of http://github.com/thequux/hammer into c++ 2014-01-16 17:22:55 +01:00
TQ Hirsch
e22199ee06 Got test suite building, most of the c++ bindings are implemented. Let's see if they work 2014-01-16 11:24:28 -05:00
Meredith L. Patterson
4a6b903ee1 all tests written, though action/attr_bool are incomplete 2014-01-16 16:48:56 +01:00
TQ Hirsch
da21737bbe Added start at C++ bindings 2014-01-16 09:38:55 -05:00
Meredith L. Patterson
61f79252a5 Merge pull request #89 from thequux/ruby-bindings
Ruby bindings
2014-01-10 21:12:52 -08:00
TQ Hirsch
f751400e62 Updated Ruby-specific README 2014-01-11 06:05:23 +01:00
TQ Hirsch
06f7060b3b Updated README to reflect the new Ruby bindings. Closes #38 2014-01-11 05:52:10 +01:00
Dan Hirsch
982665aafa Got travis working, fixed ruby 1.9.3 compatibility 2014-01-11 05:37:34 +01:00
Dan Hirsch
df196aa346 Added sconscript 2014-01-11 04:26:47 +01:00
Dan Hirsch
cafa9adb1a Action works, too 2014-01-11 03:28:31 +01:00
Dan Hirsch
3d791412f0 Fixed character parsing 2014-01-11 03:24:39 +01:00
Dan Hirsch
0da5867a81 Action is now completely working 2014-01-11 02:55:02 +01:00
Dan Hirsch
482e89adf8 Added support for the token type registry 2014-01-11 01:10:49 +01:00
Dan Hirsch
753120f27e All of the main test suite works 2014-01-10 22:30:57 +01:00
Dan Hirsch
6a35872470 Added test suite generator for ruby 2014-01-10 21:24:50 +01:00
Dan Hirsch
8bd6671f90 Made library name cross-platform 2014-01-08 20:18:08 +01:00
Jakob Rath
905183cddc Implement h_attr_bool. 2014-01-08 20:18:08 +01:00
Jakob Rath
d343b0c8f0 Add accessor methods. 2014-01-08 20:18:08 +01:00
Jakob Rath
a302953dfd Implement h_action. 2014-01-08 20:18:08 +01:00
Jakob Rath
8c653b519e Add tests about token encoding (failing for now). 2014-01-08 20:18:08 +01:00
Jakob Rath
b16eab8f33 Fix memory issues, add HBytes#token. 2014-01-08 20:18:08 +01:00
Jakob Rath
cf59ec83ed Fix parsing of strings with multibyte characters. 2014-01-08 20:18:08 +01:00
Jakob Rath
3aa2ac2634 Add real tests. 2014-01-08 20:18:08 +01:00
Jakob Rath
96dfad0178 h_token: Copy string correctly.
See https://github.com/ffi/ffi/wiki/Core-Concepts#string-memory-allocation for additional information.
2014-01-08 20:18:08 +01:00
Jakob Rath
d53ee07499 Allow access to HCountedArray's elements. 2014-01-08 20:18:07 +01:00
Jakob Rath
c08818e5a5 Implement first version of HParseResult. 2014-01-08 20:18:07 +01:00
Jakob Rath
6d38b8e82a Use typedefs for pointers. 2014-01-08 20:18:07 +01:00
Jakob Rath
76782bfa4a Implement indirect parser and fix some bugs. 2014-01-08 20:18:07 +01:00
Jakob Rath
8ff5e181ce Add more parsers. 2014-01-08 20:18:07 +01:00
Jakob Rath
8048f2e731 Use Fixnum for Parser.ch() 2014-01-08 20:18:07 +01:00
Jakob Rath
cfff00f8ed Add more parsers to ParserBuilder. 2014-01-08 20:18:07 +01:00
Jakob Rath
676799fbbc Add Parser.build_choice method. 2014-01-08 20:18:07 +01:00
Jakob Rath
d3ff5f5b1e Define choice and sequence with define_parser method. 2014-01-08 20:18:07 +01:00
Jakob Rath
5ea0b727d0 Don't use C extensions (JRuby compatibility). 2014-01-08 20:18:07 +01:00
Jakob Rath
049a64946b Fix indentation. 2014-01-08 20:18:07 +01:00
Jakob Rath
3f661b91e3 Duplicate string argument to token parser. 2014-01-08 20:18:07 +01:00
Jakob Rath
7bdd8b7ce2 Free parse result. 2014-01-08 20:18:07 +01:00
Jakob Rath
6e34e0c8fb Remove Hammer::Parser subclasses. 2014-01-08 20:18:07 +01:00
Jakob Rath
daeabb587d Need rake-compiler gem. 2014-01-08 20:18:07 +01:00
Jakob Rath
6368214fce Add first version of ruby bindings. 2014-01-08 20:18:07 +01:00
TQ Hirsch
ae0158a1cd Merge pull request #87 from abiggerhammer/master
.NET bindings
2014-01-04 17:29:10 -08:00
Meredith L. Patterson
42d1dd4fe9 update README files; decrufting 2014-01-05 02:07:14 +01:00