summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorgramanas <anastasis.gramm2@gmail.com>2021-11-06 13:01:47 +0200
committergramanas <anastasis.gramm2@gmail.com>2021-11-06 13:01:47 +0200
commit66a86d1b20a1e97b2d008e73db7557887fc44edf (patch)
treed778fa893496fc7d4c3609dc8d3d8f667182217d /lib
parent9deed51aa2df7ca5979963f7452a6439ad2d3767 (diff)
downloadfoodtools-66a86d1b20a1e97b2d008e73db7557887fc44edf.tar.gz
foodtools-66a86d1b20a1e97b2d008e73db7557887fc44edf.tar.bz2
foodtools-66a86d1b20a1e97b2d008e73db7557887fc44edf.zip
Progress
Diffstat (limited to 'lib')
-rw-r--r--lib/pa sta.rcp12
-rw-r--r--lib/pasta red sauce.rcp23
-rw-r--r--lib/pasta-red-sauce.rcp22
-rw-r--r--lib/pasta.rcp12
-rw-r--r--lib/simple_omelette.rcp8
5 files changed, 76 insertions, 1 deletions
diff --git a/lib/pa sta.rcp b/lib/pa sta.rcp
new file mode 100644
index 0000000..da71596
--- /dev/null
+++ b/lib/pa sta.rcp
@@ -0,0 +1,12 @@
+@pasta
+
+pasta = 240g
+salt = *
+olive oil = 1tblsp
+
+---
+
+> boil 2 liters of water in a pot
+> add the $salt and the ${olive oil}
+> add the pasta and cook according to the \
+instructions in the box \ No newline at end of file
diff --git a/lib/pasta red sauce.rcp b/lib/pasta red sauce.rcp
new file mode 100644
index 0000000..b0bc460
--- /dev/null
+++ b/lib/pasta red sauce.rcp
@@ -0,0 +1,23 @@
+@pasta with red sauce
+
+!~/code/food_compiler/lib/pasta.rcp
+salt = *
+sugar = 1 teaspoon
+onion = 1
+garlic = 1 clove
+oregano = 1tbsp
+tomato sauce = 1 can
+wine = 100ml
+olive oil = *
+
+---
+
+- prepare $pasta
+> heat some ${olive oil} in the pan
+> fry $garlic [until light brown]
+> add $onion and some $salt, fry [until \
+onion is translucent]
+> deglaze with the $wine and cook [until it reduces in half]
+> add the ${tomato sauce}, and some warm water to rinse the can
+> add $pasta to the sauce, turn the heat off, and cook [for 1-2 minutes]
++ serve on a big bowl
diff --git a/lib/pasta-red-sauce.rcp b/lib/pasta-red-sauce.rcp
new file mode 100644
index 0000000..e870358
--- /dev/null
+++ b/lib/pasta-red-sauce.rcp
@@ -0,0 +1,22 @@
+@pasta with red sauce
+
+!lib/pa sta.rcp
+salt = *
+sugar = 1 teaspoon
+onion, garlic = 1
+oregano = 1tbsp
+tomato sauce = 1 can
+wine = 100ml
+olive oil = *
+
+---
+
+- prepare $pasta
+> heat some ${olive oil} in the pan
+> fry $garlic [until light brown]
+> add $onion and some $salt, fry [until \
+onion is translucent]
+> deglaze with the $wine and cook [until it reduces in half]
+> add the ${tomato sauce}, and some warm water to rinse the can
+> add $pasta to the sauce, turn the heat off, and cook [for 1-2 minutes]
++ serve on a big bowl
diff --git a/lib/pasta.rcp b/lib/pasta.rcp
new file mode 100644
index 0000000..da71596
--- /dev/null
+++ b/lib/pasta.rcp
@@ -0,0 +1,12 @@
+@pasta
+
+pasta = 240g
+salt = *
+olive oil = 1tblsp
+
+---
+
+> boil 2 liters of water in a pot
+> add the $salt and the ${olive oil}
+> add the pasta and cook according to the \
+instructions in the box \ No newline at end of file
diff --git a/lib/simple_omelette.rcp b/lib/simple_omelette.rcp
index 37a0cb8..c867e47 100644
--- a/lib/simple_omelette.rcp
+++ b/lib/simple_omelette.rcp
@@ -1,7 +1,13 @@
# -*- mode: fundamental -*-
@title
-!/home/gramanas/code/food_compiler/lib/include.rcp
+# default lib search path FOOD_LIB=/var/lib/food
+# order:
+# 1a. full path if s[0] = / or ~
+# 1b. local path
+# 2. default library path
+# !pasta.rcp = 3
+!~/code/food_compiler/lib/include.rcp
eggs = 3
milk = 2tbsp
salt, pepper = *