Skip to content

Commit

Permalink
#1602 - added syntax to use versions with full name objects
Browse files Browse the repository at this point in the history
  • Loading branch information
maxonfjvipon committed Jul 10, 2023
1 parent d33fb61 commit dd820b4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions eo-parser/src/main/antlr4/org/eolang/parser/Program.g4
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,11 @@ application
method
htail?
|
application
method
version
suffix?
|
scope
htail?
|
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ tests:
- //o[@base='func2' and not(@ver)]
- //o[@base='func3' and @ver='3.2.1']
- //o[@base='func4' and @ver='10.20.30']
- //o[@base='.stdout' and @ver='1.28.5']
- //o[@base='.sprintf' and @ver='0.28.5' and @name='y']
eo: |
[] > main
func0|3.4.5 > x
Expand All @@ -14,3 +16,6 @@ eo: |
func3|3.2.1
.method
func4|10.20.30
QQ.io.stdout|1.28.5
QQ.txt.sprintf|0.28.5 > y
"Hello world"

0 comments on commit dd820b4

Please sign in to comment.