-
The following code
```
type A
B c = 42+2
main = A.B 2
```
yields:
```
(B 2)
```
I'm not quite sure this is right - it looks like a mixed constructor and method definition.
I imagi…
-
Hello!
Setting `gobble: false` as a parameter to `sourcecode` does not work:
```
error: expected integer, found boolean
┌─ @preview/codelst:2.0.1/codelst.typ:41:24
│
41 │ line = li…
-
## Problem or new feature
https://docs.raku.org/language/grammar_tutorial describes `regex`, `token`, and `rule` as follows:
* Regex methods are slow but thorough, they will look back in the str…
flwyd updated
5 months ago
-
### Describe the bug
I have created SPFx with React solution. I have used "primereact": "^9.4.0" version.
I need to set the column width dynamically in the Prime React data-table column.
…
-
Consider the following code:
```
function f() {
....if (1) {
....}}
....
```
Where the dots represent whitespaces. If you run `Reindent Lines` this will not change the indentation of the co…
-
Thanks for this powerful tool. It's really quite impressive.
I've been working on a [parser](https://github.com/aMOPel/tree-sitter-nim/blob/refactor_stuff/grammar.js) for [Nim](https://nim-lang.org…
-
In the merge sentences modifiers, it uses whitespace tokenization:
https://github.com/hplt-project/OpusTrainer/blob/9ec77d3745823f9e05016700938e6b2ffbb770e0/src/opustrainer/modifiers/merge.py#L12-L…
-
This works:
```
construct Empty() { // Language that only accepts the empty string.
syntax {}
}
```
But not this:
```
// Language that only accepts the empty string.
construct Empty() {
syn…
-
I would prefere to include this .editorconfig file for using this with a VSCode plugin during file format/save operations:
```
root = true
[*]
# like -i=2
indent_style = space
indent_size = …
-
Programming languages typically have both a lexical grammar, which describes the structure of tokens, and a token grammar, which describes the syntax of the language and in which terminals are tokens.…