Skip to content

Commit

Permalink
486 output parsing (#492)
Browse files Browse the repository at this point in the history
* WIP: Add comment parsing support, change whitespace handling

Signed-off-by: reidspencer <reid.spencer@yoppworks.com>

* WIP: Get language module working

Signed-off-by: reidspencer <reid.spencer@yoppworks.com>

* WIP: Commit to merge comment support branch

Signed-off-by: reidspencer <reid.spencer@yoppworks.com>

* WIP: Merge and implement end-of-definition comment

Signed-off-by: reidspencer <reid.spencer@yoppworks.com>

* All tests pass

Summary of changes:
* Issue #6 is now implemented. Single line comments are allowed at the
  start and end of the parse and after every kind of definition. The
  comments are captured in the AST
* Keywords are not required to have non-alphanumeric characters after
  them and they introduce a cut

Signed-off-by: reidspencer <reid.spencer@yoppworks.com>

* Re-enable test case with dependency updated

Signed-off-by: reidspencer <reid.spencer@yoppworks.com>

---------

Signed-off-by: reidspencer <reid.spencer@yoppworks.com>
Signed-off-by: Reid Spencer <reid-spencer@users.noreply.github.com>
  • Loading branch information
reid-spencer committed Nov 26, 2023
1 parent 57acb10 commit 7b46b14
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,7 @@ class RunRiddlcOnArbitraryTest extends RunCommandSpecBase {
val config = "design/src/main/riddl/OffTheTop.conf"
validateLocalProject(cwd, config)
}
"validate kalix template" in {
pending
"validate kalix-improving-template" in {
val cwd = "/Users/reid/Code/Improving/kalix-improving-template"
val config = "design/src/main/riddl/ksoapp.conf"
validateLocalProject(cwd, config)
Expand Down

0 comments on commit 7b46b14

Please sign in to comment.