Conversation
178b07a to
fa9ab56
Compare
6a9e8c0 to
7380131
Compare
|
I just re-noticed how bad the JML language design is. The previous JML contract could mean:
|
7380131 to
552f739
Compare
Would that not require the keyword |
//@ model model model(model model model) { return model; }A model method, named //@ model model model(ghost ghost ghost) { return ghost; } |
|
Discussed solutions:
|
552f739 to
525a5b2
Compare
|
Backtick-escaping is added. Following is valid: |
525a5b2 to
706f108
Compare
token type changed COMMENT -> SL_COMMENT
* duration token missing * DOC_COMMENT not needed anymore * double definition of comments
* solve problem with class-level accessible clause.
|
Thanks! I'd like to keep this open for discussion for a moment. I must admit that apart from technical necessity, This very backticking mechanism is used in mysql, Kotlin and Scala; so we are in good company. |
ac785f9 to
266c230
Compare
266c230 to
42aced2
Compare
|
currently, the parser fails quite often. |
42aced2 to
171f1ca
Compare
171f1ca to
a0f7b91
Compare
a0f7b91 to
ff85052
Compare
ff85052 to
97c6c41
Compare
97c6c41 to
8b81d44
Compare
|
Abondon. JmlParser is coming. |
Intended Change
Make
JMLLexermore straightforward to understand by eliminating the two modes (aka contract/expr or outer/inner).Type of pull request
Ensuring quality
Breaking Changes