Skip to content

imports FOO.bar#2144

Merged
rv-jenkins merged 23 commits intomasterfrom
import3
Aug 23, 2021
Merged

imports FOO.bar#2144
rv-jenkins merged 23 commits intomasterfrom
import3

Conversation

@dwightguth
Copy link
Copy Markdown
Contributor

This does not contain any syntax for renaming yet; I am simply focusing on the task of importing specific syntax by its tag.

@dwightguth dwightguth requested review from ehildenb and removed request for ehildenb August 18, 2021 20:25
@dwightguth dwightguth marked this pull request as ready for review August 19, 2021 19:03
Copy link
Copy Markdown
Contributor

@radumereuta radumereuta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This could use some tests.
Some JUnit tests in OuterParsingTests for the new syntax and two tests in
regression-new/checks one with an error, and one that passes.
I will look into the semantics of this PR tomorrow when I have more energy.

Comment thread kernel/src/main/java/org/kframework/kore/convertors/KILtoKORE.java Outdated
Comment thread kernel/src/main/java/org/kframework/parser/json/JsonParser.java Outdated
@nishantjr
Copy link
Copy Markdown
Contributor

More tests, please, and documentation too.

@radumereuta
Copy link
Copy Markdown
Contributor

This is part of #2115

@dwightguth dwightguth requested a review from radumereuta August 23, 2021 15:55
Copy link
Copy Markdown
Contributor

@radumereuta radumereuta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall pretty good. Just the two small changes.

Comment thread k-distribution/tests/regression-new/checks/partialImport.k
Comment thread USER_MANUAL.md Outdated
@rv-jenkins rv-jenkins merged commit 62671d4 into master Aug 23, 2021
@rv-jenkins rv-jenkins deleted the import3 branch August 23, 2021 20:40
radumereuta added a commit that referenced this pull request Sep 27, 2021
rv-jenkins pushed a commit that referenced this pull request Sep 27, 2021
dwightguth pushed a commit that referenced this pull request Nov 1, 2021
* fix import toString

* kil for partial import

* kore class for partial import

* partial import toString

* partial import FlatImport

* fix Import constructors

* scala java converters for Option/Optional

* fix import constructors

* fix json parser/unparser

* fix kiltokore

* fix outer parser

* implement signature function for partial imports

* fix ToJson

* break long lines

* add failing test

* add passing test

* add outer parsing test

* documentation

* fix whitespace

* fix typo

* More elaborate failing test.

Co-authored-by: Radu Mereuta <headness13@gmail.com>
Co-authored-by: rv-jenkins <admin@runtimeverification.com>
dwightguth pushed a commit that referenced this pull request Nov 3, 2021
* `imports FOO.bar` (#2144)

* fix import toString

* kil for partial import

* kore class for partial import

* partial import toString

* partial import FlatImport

* fix Import constructors

* scala java converters for Option/Optional

* fix import constructors

* fix json parser/unparser

* fix kiltokore

* fix outer parser

* implement signature function for partial imports

* fix ToJson

* break long lines

* add failing test

* add passing test

* add outer parsing test

* documentation

* fix whitespace

* fix typo

* More elaborate failing test.

Co-authored-by: Radu Mereuta <headness13@gmail.com>
Co-authored-by: rv-jenkins <admin@runtimeverification.com>

* fix OOM by not storing signature as lazy val

* fix test output

* Fix long lines

Co-authored-by: Radu Mereuta <headness13@gmail.com>
Co-authored-by: rv-jenkins <admin@runtimeverification.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants