-
### Description
```nim
let v = true or block: false
```
in this assignment `block` is an expression and thus it should structurally be possible to put it there..
more interesting examples:
…
-
Hi,
I ran into a few issues when trying to parse the IFC express schema.
One being that something like `TrueNorth` is tried to be parsed (e.g. in an `expression` rule) as a boolean literal, beca…
-
I tried to define a token as a JavaScript regular expression, but this is a syntax error:
`string_literal = /"([^"\\]|\\.)*"/`
Is there another way to define tokens using regular expressions, si…
-
A method chain of :
~~~~raku
.antipairs.Hash{ 'World!' };
# 1
~~~~
Fails when split across a newline :
~~~~raku
.antipairs
.Hash{ 'World!' };
~~~~
## Error
~~~text
…
-
The following piece of Haskell code is SOMETIMES incorrectly parsed as containing a series of top-level splices.
```haskell
id :: a -> a
id x = x
const x y = x
fib :: Integer -> Integer
fi…
-
TL;DR: could the code generator implement precedence climbing automatically as an optimization ?
Here is the context for my question: I'm working with a fairly complex language grammar generated fr…
-
Hello @rbygrave,
we have a search function in our application where users can search by different parameters, for example they search for German accounts (search by the two-digit country code).
Th…
-
Given this code:
```fsharp
type Monad Monad = failwith ""
member x.Zero () : Monad When the semicolon is optional, **parsing inserts a $sep token automatically** and applies an additional synta…
-
See https://github.com/dotnet/csharpstandard/pull/757#discussion_r1142419702
In 6.2.5, this paragraph can be hard to understand:
> If the following token is among this list, or an identifier in …
-
I want to analyze this grammar for complexity, it's in EBNF: https://github.com/VladimirAlexiev/shacl/blob/shaclc-grammars/shacl-compact-syntax/grammar/shaclc-XText.ebnf.
It's also available in Eclip…