Commit graph

1205 commits

Author SHA1 Message Date
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
Meredith L. Patterson
0ee77d776f make dotnet tests run for 'test' target 2014-01-05 01:57:19 +01:00
Meredith L. Patterson
4cdf99a807 need newer mono; trying 3.2 first 2014-01-05 01:42:54 +01:00
Meredith L. Patterson
4826a70883 find nunit location automagically 2014-01-05 01:29:20 +01:00
Meredith L. Patterson
2bf5acd26c nunit-console and nunit? ok, fine 2014-01-05 00:31:37 +01:00
Meredith L. Patterson
39cec8715d also nunit 2014-01-05 00:23:25 +01:00
Meredith L. Patterson
1b9de324c3 also need mono-mcs 2014-01-05 00:12:22 +01:00
Meredith L. Patterson
e0bfb335ea add .NET bindings to travis 2014-01-05 00:04:11 +01:00
Meredith L. Patterson
232a97acce Merge pull request #18 from thequux/dotnet-bindings
Dotnet bindings.
2014-01-04 14:47:15 -08: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