Skip to content
Snippets Groups Projects
Unverified Commit 091314d6 authored by Katja Goltsova's avatar Katja Goltsova Committed by GitHub
Browse files

Support arbitrary infix predicates (#87)

* Simplify parsing of predicate application

* Change lexing of identifiers:

* schematic symbols can only be variable-like: a mix of letters, digits, and _, preceded by '
* constant symbols can be:
  - variable-like
  - sequence of digits
  - sequence of selected ASCII characters to allow ids such as ++, ::
  - 1 arbitrary non-whitespace symbol
* constant symbols can be path-qualified (a path is words, separated by $: abc$def$): algebra$matrices$*
  Since paths are currently not supported by LISA, the path gets merged into the id on the lexer level.
  This is a temporary behaviour to be changed once paths are supported.

* Generalize supported infix predicates

In addition to equality, parse as infix all predicates on whose names isInfix
returns true
parent dd55c7f2
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment