Geoffroy Couprie
|
92a1861d41
|
remove some warnings
|
2015-03-19 15:45:34 +01:00 |
|
Geoffroy Couprie
|
7023b43094
|
Allow nested chain tags
|
2015-03-19 15:26:25 +01:00 |
|
Geoffroy Couprie
|
6817f46595
|
remove some usage of fold macros
|
2015-03-19 12:01:40 +01:00 |
|
Geoffroy Couprie
|
012ea5f763
|
New unnamed parser syntax
|
2015-03-18 12:41:48 +01:00 |
|
Geoffroy Couprie
|
232f6766c6
|
Incomplete can hold either a needed size, or an unknown size
|
2015-03-01 23:49:04 +01:00 |
|
Kevin Butler
|
d2006d3c59
|
Use AsBytes trait for improved API aesthetics
|
2015-02-25 14:14:06 +00:00 |
|
Geoffroy Couprie
|
e6ca611f0c
|
Do not use as_bytes so much
|
2015-02-25 14:31:37 +01:00 |
|
Geoffroy Couprie
|
e121f0aa6f
|
Remove useless lifetime declarations
|
2015-02-20 18:51:40 +01:00 |
|
Geoffroy Couprie
|
8a46dd2bcc
|
Remove some warnings and update the slicing syntax
|
2015-02-17 18:33:10 +01:00 |
|
Geoffroy Couprie
|
a62148a917
|
At last, rename the traits to something more sensible
|
2015-02-17 17:40:41 +01:00 |
|
Geoffroy Couprie
|
a4a5482a3d
|
Adapt the INI parser to optional parsing in chain
|
2015-02-17 16:34:44 +01:00 |
|
Geoffroy Couprie
|
fefa5b748a
|
Put the closure at the end of the chain parser
|
2015-02-16 14:54:49 +01:00 |
|
Geoffroy Couprie
|
41b7de7601
|
The new macro simplifies the syntax
|
2015-02-16 14:30:30 +01:00 |
|
Geoffroy Couprie
|
6b19b6ea79
|
generalize the chaining parser
|
2015-02-16 14:25:59 +01:00 |
|
Geoffroy Couprie
|
ed75679420
|
Move code around
|
2015-02-14 00:36:45 +01:00 |
|
Geoffroy Couprie
|
35d56bd177
|
Add take_until macro and related ones
THis improves the syntax for token separated formats like the ini
files, but this is not yet good enough
|
2015-02-14 00:30:14 +01:00 |
|
Geoffroy Couprie
|
72ba27dfd2
|
clean the ini parsing code
|
2015-02-13 10:04:43 +01:00 |
|
Geoffroy Couprie
|
419df5dc45
|
Fix FlatMp implementation
Now, flatmap keeps the input part from the IResult it is applied
on.
This will allow usage of the Incomplete closures
|
2015-02-08 23:19:12 +01:00 |
|
Geoffroy Couprie
|
5505c7d502
|
begin support for Partial closures
|
2015-02-06 23:53:52 +01:00 |
|
Geoffroy Couprie
|
c7c61c2cf6
|
closure syntax changed again
|
2015-02-06 14:29:47 +01:00 |
|
Geoffroy Couprie
|
1dd401aa4f
|
Implement slincing and ranging syntax
Remove some warnings
|
2015-01-29 13:54:19 +01:00 |
|
Geoffroy Couprie
|
1db2ef0b51
|
fix macro usage
|
2015-01-08 20:50:32 +01:00 |
|
Geoffroy Couprie
|
8937fe0d31
|
Fix macros for the latest Rust
|
2015-01-08 11:27:58 +01:00 |
|
Geoffroy Couprie
|
5a6b93b723
|
Update most of the code to rust 1.0.0-dev 2a8cb678e
Most macros are still broken
|
2015-01-08 10:28:28 +01:00 |
|
Geoffroy Couprie
|
21b6d18089
|
accept empty lines after sections
|
2015-01-06 14:02:00 +01:00 |
|
Geoffroy Couprie
|
2ae55570fc
|
parse multiple categories
|
2015-01-06 13:52:25 +01:00 |
|
Geoffroy Couprie
|
36f0309918
|
parse a category with keys and values
|
2015-01-06 12:12:33 +01:00 |
|
Geoffroy Couprie
|
0e2e0427be
|
'key = value' can be followed by empty lines
|
2015-01-05 23:30:58 +01:00 |
|
Geoffroy Couprie
|
ec9c0fb212
|
produce a hashmap from key-value components
|
2015-01-05 22:56:40 +01:00 |
|
Geoffroy Couprie
|
a3203d4325
|
parse multiple keys and values
|
2015-01-05 18:32:39 +01:00 |
|
Geoffroy Couprie
|
63ed678971
|
parse keys and values as text
|
2015-01-05 18:05:57 +01:00 |
|
Geoffroy Couprie
|
8cb4ec0f33
|
parse ini category name as text
|
2015-01-05 17:41:52 +01:00 |
|
Geoffroy Couprie
|
a5ea217612
|
Move flat_map to its own trait
|
2015-01-05 15:48:31 +01:00 |
|
Geoffroy Couprie
|
bd586440f9
|
rename parsers
|
2015-01-05 12:18:58 +01:00 |
|
Geoffroy Couprie
|
3dc5cd8dd2
|
parse parameter=value with spaces
|
2015-01-04 17:12:10 +01:00 |
|
Geoffroy Couprie
|
672a0faf1b
|
parse key/value in INI files
still needs something to eat arbitrary numbers of spaces
|
2015-01-03 15:02:31 +01:00 |
|
Geoffroy Couprie
|
0de679b992
|
parse ini category
|
2014-12-30 17:43:56 +01:00 |
|
Geoffroy Couprie
|
65eede593e
|
parse ini comments
|
2014-12-30 17:35:17 +01:00 |
|