Back to front pageView on Hacker News (opens in a new tab)Show HN: CookLang – Recipe Markup Language (opens in a new tab)cooklang.org415 pointsby dubadub (on Hacker News)5 years agocooklang.org (opens in a new tab)Cooklang – Recipe Markup LanguageCooklang is a markup language for recipes.Comments (146) 44 threadsShow all commentsShowing thread 31 of 44[-]pintxo5 years ago1 reply#Also, any plans on how to convert between units?[-]dubadub5 years ago1 reply#Not yet solid, but there are ideas. For example, define units config in a way like that: "1l | 1000 ml | ...". The first value will be a preferred one and everything else will be converted. What do you think?[-]pintxo5 years ago1 reply#Might be the only viable way, as conversion factors are ingredient specific (e.g. Milk/Flour, Cups vs Liter/Grams)rkangel5 years ago#The language parser has the information to know what ingredient the unit is for though, so you could build a database of those conversions.
Show HN: CookLang – Recipe Markup Language (opens in a new tab)cooklang.org415 pointsby dubadub (on Hacker News)5 years ago
dubadub5 years ago1 reply#Not yet solid, but there are ideas. For example, define units config in a way like that: "1l | 1000 ml | ...". The first value will be a preferred one and everything else will be converted. What do you think?
pintxo5 years ago1 reply#Might be the only viable way, as conversion factors are ingredient specific (e.g. Milk/Flour, Cups vs Liter/Grams)
rkangel5 years ago#The language parser has the information to know what ingredient the unit is for though, so you could build a database of those conversions.
Comments (146) 44 threads
Show all comments
Showing thread 31 of 44