Skip to content

Commit

Permalink
minor improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Azpillaga Aldalur committed Feb 27, 2024
1 parent a3c7d29 commit 3b34b22
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
1 change: 0 additions & 1 deletion ast/src/main/antlr/KukiLexer.g4
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ MIX: 'Mix';
ADD: 'Add';
HEAT: 'Heat';
SERVE: 'Serve';
WASH: 'Wash';
PLACE: 'Place';
BAKE: 'Bake';
PEEL: 'Peel';
Expand Down
1 change: 1 addition & 0 deletions examples/Almond cookies.kuki
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ STEPS
4. Heat the oven to 180 degrees.
5. Bake the oven tray for 20 minutes.
6. Serve the oven tray in plates.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Pasta Carbonara
Spaghetti Carbonara

INGREDIENTS for 2
- Spaghetti: 200 g
Expand Down
12 changes: 6 additions & 6 deletions examples/Spanish omelet.kuki
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ UTENSILS
- Plates

STEPS
Peel the potatoes and onion. Slice the potatoes and onion into cubes. Add the olive oil to the frying pan.
Heat the frying pan to 80 degrees. Add the cubes to the frying pan.
Cook the frying pan for 10 minutes. Add salt and pepper to the frying pan.
Add the eggs, salt and pepper to the mixing bowl. Beat the eggs. Add the eggs to the frying pan.
Cook the frying pan for 2 minutes. Flip the frying pan. Cook the frying pan for 2 minutes.
Serve the frying pan in plates.
1. Peel the potatoes and onion. Slice the potatoes and onion into cubes.
2. Add the olive oil to the frying pan. Heat the frying pan to 80 degrees.
3. Add the cubes to the frying pan. Cook the frying pan for 10 minutes. Add salt and pepper to the frying pan.
4. Add the eggs, salt and pepper to the mixing bowl. Beat the eggs. Add the eggs to the frying pan.
5. Cook the frying pan for 2 minutes. Flip the frying pan. Cook the frying pan for 2 minutes.
6. Serve the frying pan in plates.
2 changes: 1 addition & 1 deletion language-server/src/main/resources/grammar.tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<key>name</key>
<string>entity.name.function.kuki</string>
<key>match</key>
<string>\b(Mix|Cut|Place|Heat|Bake)\b</string>
<string>\b(Mix|Slice|Place|Add|Heat|Bake|Cook|Beat|Serve|Peel|Grate|Drain|Flip)\b</string>
</dict>
<dict>
<key>name</key>
Expand Down

0 comments on commit 3b34b22

Please sign in to comment.