Commit Graph

374 Commits

Author SHA1 Message Date
Brandon Keepers f252b79af9
Clean up parser implementation 2016-11-03 23:11:28 -05:00
Brandon Keepers e6f523efdb
logical-expression => binary-expression 2016-11-03 21:25:10 -05:00
Brandon Keepers a26d96ba27 Merge pull request #54 from bkeepers/not
Not
2016-11-03 21:14:34 -05:00
Brandon Keepers 2397c7070a
Add docs on negation 2016-11-03 20:37:04 -05:00
Brandon Keepers fb59548881
Implement negation 2016-11-03 20:33:24 -05:00
Brandon Keepers c526432b73
Fix headings 2016-10-30 11:50:06 -05:00
Brandon Keepers ff3a0106da
Update examples 2016-10-30 11:48:52 -05:00
Brandon Keepers f0ec15aa19
Move files that are not conditions 2016-10-30 11:42:49 -05:00
Brandon Keepers 44650ceb65 Tweaks 2016-10-30 10:23:06 -05:00
Brandon Keepers cfe39ffe68 Fix links to source 2016-10-30 10:18:17 -05:00
Brandon Keepers 6f5b00cc85 Merge pull request #52 from bkeepers/more-docs
Add docs on implementing actions and conditions
2016-10-30 10:15:41 -05:00
Brandon Keepers e3fa0afa3a
Add docs on implementing actions and conditions 2016-10-30 10:14:48 -05:00
Brandon Keepers 338b15f6b4
Update examples 2016-10-29 15:09:08 -05:00
Brandon Keepers a4f637746b Merge pull request #51 from bkeepers/pegjs-util
Use pegjs-util
2016-10-29 15:04:15 -05:00
Brandon Keepers 8e83b10bc6
Skip using asty for now
I experimented with adding this, but do not really see the value right now.
2016-10-29 15:02:09 -05:00
Brandon Keepers 458a994f21
Use unroll function 2016-10-29 14:41:53 -05:00
Brandon Keepers 1ab58d32f1
Add pegjs-util and asty, consolidate uses of parser 2016-10-29 14:41:27 -05:00
Brandon Keepers e600eda6db
Try to get number from issue or pull request 2016-10-29 13:07:24 -05:00
Brandon Keepers 969de5e7ee
Move pegjs to runtime dep for now 2016-10-29 12:51:53 -05:00
Brandon Keepers 32ecd731b9 Merge pull request #46 from bkeepers/conditions
Conditions
2016-10-29 12:47:06 -05:00
Brandon Keepers 6ba47b439d
Fix operator precidence 2016-10-29 12:33:42 -05:00
Brandon Keepers 6381f8e80b
Add "is", "is not", and "contains" 2016-10-29 11:01:02 -05:00
Brandon Keepers 84670eaa5d
Initial docs on conditions 2016-10-29 09:56:58 -05:00
Brandon Keepers e375a5c410
refactor actions 2016-10-29 08:21:08 -05:00
Brandon Keepers deb87a4589
Add matches operator and refactor 2016-10-29 08:18:29 -05:00
Brandon Keepers 0ed8c8c106
Support n logical expressions 2016-10-28 23:09:23 -05:00
Brandon Keepers a16d38982a
Add logical and 2016-10-28 21:09:18 -05:00
Brandon Keepers 05b2786777
Add logical or 2016-10-28 20:17:06 -05:00
Brandon Keepers 355cfe4d14
Add FIXME 2016-10-28 11:56:06 -04:00
Brandon Keepers 7044b4fd95
Refactor conditions 2016-10-28 11:50:46 -04:00
Brandon Keepers f82f6d2d87
Refactor calling of actions 2016-10-28 11:38:58 -04:00
Brandon Keepers 01bd168c2f
rename "then" to "actions" in ast 2016-10-28 11:32:31 -04:00
Brandon Keepers 1572100fff
Fix lint errors 2016-10-28 11:30:10 -04:00
Brandon Keepers f9db96b7fd
Rename "on" to "events" in ast 2016-10-28 11:24:00 -04:00
Brandon Keepers 71542de659
Refactor to add a transformer 2016-10-28 11:18:27 -04:00
Brandon Keepers bf03127fe8
Implement conditions 2016-10-23 23:19:00 -05:00
Brandon Keepers 96d946842d Remove yaml warning 2016-10-23 22:09:26 -05:00
Brandon Keepers d1844da0d6
Add conditions 2016-10-23 08:17:26 -05:00
Brandon Keepers 9969849fde
Merge remote-tracking branch 'origin/master' into integration
* origin/master: (34 commits)
  Update docs
  Fix lint error
  Add comment syntax
  "or" instead of "and"
  Add instruction to turn on verbose logging
  Update docs
  Fall back to generating parser at runtime
  Fix lint errrors
  Remove yaml dependency
  Use parser in place of yaml syntax
  Fix lint errors
  Behaviors are separated by a semicolon
  Separate events by 'and' instead of comma
  Implement 'then'
  Implement simple actions
  Implement "on" part of the syntax
  Add pegjs as a dev dep
  Document react action
  Remove 'why' section
  No longer aspirational
  ...
2016-10-19 23:48:19 -05:00
Brandon Keepers ebd96fd773 Merge pull request #45 from seemakamath/patch-1
Add instruction to turn on verbose logging
2016-10-19 23:38:40 -05:00
Brandon Keepers 24fa404f74 Merge pull request #44 from bkeepers/parser
Parser
2016-10-19 23:38:04 -05:00
Brandon Keepers c0e9fff4eb
Update docs 2016-10-19 23:32:26 -05:00
Brandon Keepers 5b9146b0b8
Fix lint error 2016-10-19 23:29:24 -05:00
Brandon Keepers 06479a2be5
Add comment syntax 2016-10-19 22:58:11 -05:00
Brandon Keepers 258fe27bdb
"or" instead of "and"
...because @arfon said so
2016-10-19 22:47:03 -05:00
Seema Kamath a05c5a76ae Add instruction to turn on verbose logging 2016-10-19 08:31:04 -07:00
Brandon Keepers 574d2c599f
Update docs 2016-10-18 00:41:55 -05:00
Brandon Keepers 7343699c80
Merge remote-tracking branch 'origin/master' into parser
* origin/master:
  Document react action
  Remove 'why' section
  No longer aspirational
  Remove unimplemented examples from README
  Fix then syntax
  Update not at top of readme
  Move aspirational examples to separate file
  Remove unimplemented merge action
  Remove unimplemented from_file option
  Remove unimplemented payload conditions
  Remove interit_from syntax
2016-10-18 00:19:42 -05:00
Brandon Keepers b85bc573cf
Fall back to generating parser at runtime 2016-10-18 00:14:12 -05:00
Brandon Keepers e4166cfe29
Fix lint errrors 2016-10-18 00:05:34 -05:00