Continue working on Muffin (a weird programming language that allows you to write programs that look like cooking recipes) Regarding the syntax I changed the "dilute" statement into "add water" to make it less redundant. Day three working on the parser; today I implemented the "add ... into ..." grammar; the picture below shows a sample program that doesn't make sense and the AST generated for it by the compiler. Look at github.com/CBerJun/Muffin for the draft design of Muffin. (Day 4 on Scrapbook)
Continue to work on Muffin (a weird programming language that allows you to write programs that look like cooking recipes) Day two working on the parser; today I implemented the "if" predicate and "set up" grammar; the picture below shows a sample program that doesn't make sense and the AST generated for it by the compiler. (Day 3 on Scrapbook)
Continue my work on Muffin (a weird programming language I invented that allows you to write programs that look like cooking recipes) Today I worked on the parser; all "toplevel" grammars have been implemented; now the parser only lacks a function that generates the AST node for each statement.
A few days ago I started making this weird programming language called Muffin in which you can write programs that look like cooking recipes. Currently I have a tokenizer done. Today I spent time changing the design of a few statements. Repo: github.com/CBerJun/Muffin