e.e d3si9n
5a691fbb67
StringVerbatim is now stateless
2012-03-11 13:19:13 -04:00
e.e d3si9n
8545e912da
removed Octal
2012-03-11 13:12:23 -04:00
e.e d3si9n
87c52f5f1b
implemented parser for escaped string and verbatim string
2012-03-11 07:31:39 -04:00
Mark Harrah
65f51cdb85
convenience functions for testing parsers
2012-03-10 14:16:40 -05:00
Mark Harrah
1687cf8a8c
handle absence of CONT signal
2012-03-09 13:38:45 -05:00
Mark Harrah
5b20d330c5
handle CONT signal to reset JLine after resuming from stop. fixes #394
2012-03-09 07:08:38 -05:00
Mark Harrah
3587777638
move error processing to complete/
2012-03-09 07:08:38 -05:00
Mark Harrah
6a7eb6c937
Merge branch 'parsing_changes' into 0.12
2012-01-15 13:09:41 -05:00
Mark Harrah
9b5ab3cb09
work around unclosed jline history-related streams
2012-01-14 21:09:11 -05:00
Mark Harrah
ec48779829
moved task axis before the key
2012-01-09 08:00:29 -05:00
Mark Harrah
bca9ace1f7
fix 'not' parser combinator, add EOF
2011-12-13 17:29:08 -05:00
Mark Harrah
7a75acfe03
treat case differences differently
2011-12-13 17:15:05 -05:00
softprops
762bac2975
add support for a masked readline
2011-10-13 20:42:39 -04:00
Mark Harrah
705608d59d
fix parser test
2011-10-01 14:40:14 -04:00
Mark Harrah
9ad15672d5
fix laziness of parser failure messages
2011-09-26 08:20:07 -04:00
Mark Harrah
541004419f
provide consecutive tab press count for completion combinators
2011-09-20 20:51:47 -04:00
Mark Harrah
18b57bb101
fix ++ command to not require a space after it
2011-08-14 10:53:37 -04:00
Mark Harrah
70dcae84ee
preserve key+configuration ambiguity through task+extra parsing. fixes #135
2011-08-05 21:59:49 -04:00
Mark Harrah
d4c76b0d0e
add ability to hide a token until it is explicitly started
2011-07-24 22:35:27 -04:00
Mark Harrah
cbf7b82cdb
clean up whitespace handling in commands. fixes #97
2011-07-12 07:47:31 -04:00
Mark Harrah
dd4ab4e078
minor changes to parsers
2011-06-17 18:03:59 -04:00
Mark Harrah
a94247d1b6
more release-worthy compile message and analysis toString
2011-05-29 19:17:31 -04:00
Mark Harrah
9dc9ccd0d3
Use standard {build}/id syntax for 'project' command
2011-05-07 22:02:06 -04:00
Mark Harrah
aae8b084ca
test fixes
2011-05-07 22:02:05 -04:00
Mark Harrah
6c6eccea4f
trying out different costs for edit distance
2011-04-26 22:29:30 -04:00
Mark Harrah
1021f0dac8
fix tab completion for filtered parsers
2011-04-26 20:49:43 -04:00
Mark Harrah
daa58adc85
work on parser error handling
2011-04-25 20:20:05 -04:00
Mark Harrah
d60175a337
fix matched signature
2011-04-19 22:20:16 -04:00
Mark Harrah
0608e648a5
use left, some, right to avoid extra anonymous classes
2011-04-19 17:58:05 -04:00
Mark Harrah
213d995bb5
newline before JLine's above threshold prompt
2011-03-25 18:22:30 -04:00
Mark Harrah
69a04326b9
tab completion: print message when input is invalid
2011-03-24 21:28:02 -04:00
Mark Harrah
1dd4a1d1b1
tab completion: example-checking off by default, 'matches' convenience method
2011-03-24 21:28:02 -04:00
Mark Harrah
c0c287d50e
reintegrate history commands, add proper parsing for recursive commands
2011-03-11 16:52:44 -05:00
Mark Harrah
02d3c6bcad
add 'seq' combinator that applies one or more parsers, collecting all valid results
2011-02-21 10:00:40 -05:00
Mark Harrah
aadcd0c9fb
tweak URI character class for improved completion
2011-02-19 15:29:51 -05:00
Mark Harrah
63c8fd715d
make completion cross product lazier
2011-02-18 20:58:13 -05:00
Mark Harrah
6688918349
return position at which parsing fails
2011-02-18 20:57:39 -05:00
Mark Harrah
7efa007820
some more example tab completion combinators
2011-02-08 20:33:34 -05:00
Mark Harrah
c9a6d2f6b0
session manipulation commands
...
save, clear, list, and remove session settings
2011-02-02 22:56:11 -05:00
Mark Harrah
e739e74ff5
make Uri parser fail (instead of error) on malformed inputs
2011-01-25 22:18:18 -05:00
Mark Harrah
837bb80d40
cleanup and fixes
2011-01-24 18:08:43 -05:00
Mark Harrah
784d83af17
make explicit the separation between parsing and execution
...
Parser[() => State] instead of Parser[State]
2011-01-22 15:01:10 -05:00
Mark Harrah
c3a265dbd3
redo Command to use Parser
...
nested commands still need work
2011-01-22 14:01:59 -05:00
Mark Harrah
6960d24158
part I of revised approach to commands/projects
...
no privileged project member of State
no separation of Command and Apply, so no pre-filtering on State
use entries in State attributes map instead of mixing in traits to project object:
HistoryPath, Logger, Analysis, Navigate, Watch, TaskedKey
rework Navigation to be standalone instead of mixin
2011-01-18 18:48:32 -05:00
Mark Harrah
ac70b45c1c
update completion example with newer combinators
2011-01-18 18:43:17 -05:00
Mark Harrah
8af2a0b7e0
JLine integration for tab completion combinators
2011-01-18 18:07:48 -05:00
Mark Harrah
260ee59d4a
fix flatMap in completion
2010-12-14 06:08:20 -05:00
Mark Harrah
1c29522ba8
fixes and improvements to tab completions combinators
2010-12-13 22:44:25 -05:00
Mark Harrah
05195ecc7c
fixes and additions to completion combinators
...
filter,map,flatMap
remove incorrect reductions
2010-12-08 22:16:12 -05:00
Mark Harrah
8e6b42180d
parser combinators with builtin tab completion support
...
lacks memoization
lacks error messages for normal parsing
2010-12-06 19:48:49 -05:00
Mark Harrah
ab78c8791a
remove call-by-name modifier for error function, doesn't work well
2010-08-04 19:48:48 -04:00
Mark Harrah
767a1e47c1
adding more commands
2010-07-27 23:01:45 -04:00
Mark Harrah
6f3c699435
- Stuart's improvements to triggered execution
...
- continue splitting original sbt module
* separated process, testing modules
* various IO, logging, classpath migration
* split out javac interface
2010-07-05 12:53:37 -04:00
Mark Harrah
1585d805bd
more reorganization, mostly IO. Also, move class file analyzer and history code to separate projects
2010-06-13 22:59:29 -04:00