Skip to content

Commit c7f1718

Browse files
authored
Merge pull request #24 from julianmendez/development
Development
2 parents 23d5b46 + b167a99 commit c7f1718

5 files changed

Lines changed: 94 additions & 17 deletions

File tree

lake-manifest.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,27 +5,27 @@
55
"type": "git",
66
"subDir": null,
77
"scope": "",
8-
"rev": "308445d7985027f538e281e18df29ca16ede2ba3",
8+
"rev": "8f9d9cff6bd728b17a24e163c9402775d9e6a365",
99
"name": "mathlib",
1010
"manifestFile": "lake-manifest.json",
11-
"inputRev": "v4.21.0",
11+
"inputRev": "v4.28.0",
1212
"inherited": false,
1313
"configFile": "lakefile.lean"},
1414
{"url": "https://github.com/leanprover-community/batteries.git",
1515
"type": "git",
1616
"subDir": null,
1717
"scope": "",
18-
"rev": "8d2067bf518731a70a255d4a61b5c103922c772e",
18+
"rev": "495c008c3e3f4fb4256ff5582ddb3abf3198026f",
1919
"name": "batteries",
2020
"manifestFile": "lake-manifest.json",
21-
"inputRev": "v4.21.0",
21+
"inputRev": "v4.28.0",
2222
"inherited": false,
2323
"configFile": "lakefile.toml"},
2424
{"url": "https://github.com/leanprover-community/plausible",
2525
"type": "git",
2626
"subDir": null,
2727
"scope": "leanprover-community",
28-
"rev": "c4aa78186d388e50a436e8362b947bae125a2933",
28+
"rev": "55c8532eb21ec9f6d565d51d96b8ca50bd1fbef3",
2929
"name": "plausible",
3030
"manifestFile": "lake-manifest.json",
3131
"inputRev": "main",
@@ -35,7 +35,7 @@
3535
"type": "git",
3636
"subDir": null,
3737
"scope": "leanprover-community",
38-
"rev": "6c62474116f525d2814f0157bb468bf3a4f9f120",
38+
"rev": "c5d5b8fe6e5158def25cd28eb94e4141ad97c843",
3939
"name": "LeanSearchClient",
4040
"manifestFile": "lake-manifest.json",
4141
"inputRev": "main",
@@ -45,7 +45,7 @@
4545
"type": "git",
4646
"subDir": null,
4747
"scope": "leanprover-community",
48-
"rev": "d07bd64f1910f1cc5e4cc87b6b9c590080e7a457",
48+
"rev": "85b59af46828c029a9168f2f9c35119bd0721e6e",
4949
"name": "importGraph",
5050
"manifestFile": "lake-manifest.json",
5151
"inputRev": "main",
@@ -55,17 +55,17 @@
5555
"type": "git",
5656
"subDir": null,
5757
"scope": "leanprover-community",
58-
"rev": "6980f6ca164de593cb77cd03d8eac549cc444156",
58+
"rev": "be3b2e63b1bbf496c478cef98b86972a37c1417d",
5959
"name": "proofwidgets",
6060
"manifestFile": "lake-manifest.json",
61-
"inputRev": "v0.0.62",
61+
"inputRev": "v0.0.87",
6262
"inherited": true,
6363
"configFile": "lakefile.lean"},
6464
{"url": "https://github.com/leanprover-community/aesop",
6565
"type": "git",
6666
"subDir": null,
6767
"scope": "leanprover-community",
68-
"rev": "8ff27701d003456fd59f13a9212431239d902aef",
68+
"rev": "f642a64c76df8ba9cb53dba3b919425a0c2aeaf1",
6969
"name": "aesop",
7070
"manifestFile": "lake-manifest.json",
7171
"inputRev": "master",
@@ -75,7 +75,7 @@
7575
"type": "git",
7676
"subDir": null,
7777
"scope": "leanprover-community",
78-
"rev": "e9c65db4823976353cd0bb03199a172719efbeb7",
78+
"rev": "b8f98e9087e02c8553945a2c5abf07cec8e798c3",
7979
"name": "Qq",
8080
"manifestFile": "lake-manifest.json",
8181
"inputRev": "master",
@@ -85,10 +85,10 @@
8585
"type": "git",
8686
"subDir": null,
8787
"scope": "leanprover",
88-
"rev": "7c6aef5f75a43ebbba763b44d535175a1b04c9e0",
88+
"rev": "4f10f47646cb7d5748d6f423f4a07f98f7bbcc9e",
8989
"name": "Cli",
9090
"manifestFile": "lake-manifest.json",
91-
"inputRev": "main",
91+
"inputRev": "v4.28.0",
9292
"inherited": true,
9393
"configFile": "lakefile.toml"}],
9494
"name": "soda",

lakefile.lean

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ package «soda» where
55
-- add package configuration options here
66

77
require batteries from git
8-
"https://github.com/leanprover-community/batteries.git" @ "v4.21.0"
8+
"https://github.com/leanprover-community/batteries.git" @ "v4.28.0"
99

1010
require mathlib from git
11-
"https://github.com/leanprover-community/mathlib4.git" @ "v4.21.0"
11+
"https://github.com/leanprover-community/mathlib4.git" @ "v4.28.0"
1212

1313
@[default_target]
1414
lean_lib «Soda» where

lean-toolchain

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
leanprover/lean4:v4.21.0
1+
leanprover/lean4:v4.28.0
22

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
{
2+
"scopeName": "source.soda",
3+
"name": "Soda",
4+
"fileTypes": ["soda"],
5+
"patterns": [
6+
{ "include": "#comments" },
7+
{ "include": "#keywords" },
8+
{ "include": "#operators" },
9+
{ "include": "#literals" }
10+
],
11+
"repository": {
12+
"comments": {
13+
"patterns": [
14+
{
15+
"name": "comment.block.soda",
16+
"begin": "/\\*",
17+
"end": "\\*/"
18+
},
19+
{
20+
"name": "comment.line.soda",
21+
"match": "//.*$"
22+
}
23+
]
24+
},
25+
"keywords": {
26+
"patterns": [
27+
{
28+
"name": "keyword.control.soda",
29+
"match": "\\b(abstract|any|case|class|data|datatype|def|directive|else|end|extends|fun|if|import|inductive|lambda|match|package|subtype|supertype|then|this)\\b"
30+
},
31+
{
32+
"name": "constant.language.soda",
33+
"match": "\\b(true|false)\\b"
34+
},
35+
{
36+
"name": "keyword.other.soda",
37+
"match": "\\b(apply|by|cases|constructor|exact|forall|funext|have|induction|intro|notation|rewrite|rfl|rw|simp|theorem|with)\\b"
38+
},
39+
{
40+
"name": "storage.modifier.annotation.soda",
41+
"match": "@(new|override|tailrec)|\\bsorry\\b"
42+
}
43+
]
44+
},
45+
"operators": {
46+
"patterns": [
47+
{
48+
"name": "keyword.operator.soda",
49+
"match": "(->|-->|:=|==>|=|:|%|\\*|\\+|-|/|<=|>=|<|>|==|and|or|not)"
50+
}
51+
]
52+
},
53+
"literals": {
54+
"patterns": [
55+
{
56+
"name": "constant.numeric.hex.soda",
57+
"match": "0x[0-9A-Fa-f]+"
58+
},
59+
{
60+
"name": "string.quoted.double.soda",
61+
"begin": "\"",
62+
"end": "\"",
63+
"patterns": [
64+
{ "name": "constant.character.escape.soda", "match": "\\\\." }
65+
]
66+
}
67+
]
68+
}
69+
}
70+
}
71+

translator/src/main/resources/soda/translator/documentation/soda.lang

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
This file is part of GtkSourceView
55
66
Authors: Julian Alfredo Mendez
7-
Copyright 2020-2024 Julian Alfredo Mendez <julian.mendez@gmail.com>
7+
Copyright 2020-2025 Julian Alfredo Mendez <julian.mendez@gmail.com>
88
99
GtkSourceView is free software; you can redistribute it and/or
1010
modify it under the terms of the GNU Lesser General Public
@@ -135,6 +135,9 @@
135135
<keyword>extends</keyword>
136136
<keyword>abstract</keyword>
137137
<keyword>end</keyword>
138+
<keyword>data</keyword>
139+
<keyword>datatype</keyword>
140+
<keyword>inductive</keyword>
138141
<keyword>this</keyword>
139142
<keyword>subtype</keyword>
140143
<keyword>supertype</keyword>
@@ -167,14 +170,17 @@
167170
<keyword>cases</keyword>
168171
<keyword>constructor</keyword>
169172
<keyword>exact</keyword>
173+
<keyword>forall</keyword>
170174
<keyword>funext</keyword>
171175
<keyword>have</keyword>
172176
<keyword>induction</keyword>
173177
<keyword>intro</keyword>
178+
<keyword>notation</keyword>
174179
<keyword>rewrite</keyword>
175180
<keyword>rfl</keyword>
176181
<keyword>rw</keyword>
177182
<keyword>simp</keyword>
183+
<keyword>theorem</keyword>
178184
<keyword>with</keyword>
179185
</context>
180186

0 commit comments

Comments
 (0)