Commit graph

843 commits

Author SHA1 Message Date
Sven M. Hallberg
fbdd2b7613 pull saved position into HParserCacheValue and fix segfault in grow() 2014-03-17 23:46:14 +01:00
Meredith L. Patterson
047c2c6059 LIBPATH, not LD_LIBRARY_PATH 2014-01-16 20:45:21 +01:00
Meredith L. Patterson
4886a7fa16 oh linker, you so crazy 2014-01-16 20:28:56 +01:00
Meredith L. Patterson
dfeafce3b3 paths 2014-01-16 20:09:33 +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
TQ Hirsch
f751400e62 Updated Ruby-specific README 2014-01-11 06:05:23 +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
Meredith L. Patterson
42d1dd4fe9 update README files; decrufting 2014-01-05 02:07:14 +01:00
Meredith L. Patterson
0ee77d776f make dotnet tests run for 'test' target 2014-01-05 01:57:19 +01:00
Meredith L. Patterson
4826a70883 find nunit location automagically 2014-01-05 01:29:20 +01:00
Dan Hirsch
692f914986 Fixed registry test case 2014-01-04 23:39:59 +01:00
Dan Hirsch
3da3e70f65 Got action and attr_bool working 2014-01-04 23:13:35 +01:00
Dan Hirsch
ebb7b677ba Added handwritten test for h_action to C# 2014-01-04 23:13:35 +01:00
Dan Hirsch
feaf1a7e06 DotNet bindings mostly work 2014-01-04 23:13:35 +01:00