Compare commits

..

1 Commits

Author SHA1 Message Date
pharpend 6099566cfe fix wrong regex for sophia constructors
Sophia Tests / tests (push) Successful in 1m20s
Sophia constructors (Foo, Bar, Baz) cannot have quotes in them

Found this in testing. Source:

    dbab49936d/src/so_scan.erl (L23)
2026-05-13 00:37:44 -07:00
+1 -1
View File
@@ -18,7 +18,7 @@ interface main using as for hiding
### Tokens
- `Id = [a-z_][A-Za-z0-9_']*` identifiers start with a lower case letter.
- `Con = [A-Z][A-Za-z0-9_']*` constructors start with an upper case letter.
- `Con = [A-Z][A-Za-z0-9_]*` constructors start with an upper case letter.
- `QId = (Con\.)+Id` qualified identifiers (e.g. `Map.member`)
- `QCon = (Con\.)+Con` qualified constructor
- `TVar = 'Id` type variable (e.g `'a`, `'b`)