summaryrefslogtreecommitdiff
path: root/usr.bin/mg/interpreter.c
AgeCommit message (Expand)Author
2024-09-20remove unneeded semicolons; checked by millert@Jonathan Gray
2023-04-17fix a few dobeep_msgs() calls: a space is already added between the argumentsOmar Polo
2022-01-28When it's the possessive of 'it', it's spelled "its", without thePhilip Guenther
2022-01-20mg: fix -Wunused-but-set-variable warningsChristian Weisgerber
2021-05-12Count the number of arguments in each expression as we initially goMark Lumsden
2021-05-08Perhaps the syntax '((' and '()' will be valid one day, but not at theMark Lumsden
2021-05-08stop parsing if a digit is found as first character of an expression.Mark Lumsden
2021-05-07Give an error if quoted string is found as first non-white char afterMark Lumsden
2021-05-07Take a note of expression length when it is extracted from lineMark Lumsden
2021-05-06Add the line number of an error to error messages.Mark Lumsden
2021-05-06Give parse error if character found between blocks.Mark Lumsden
2021-05-05Check the characters preceeding and following quotes.Mark Lumsden
2021-05-03When parsing a variable value within double quotes, allow parenthesisMark Lumsden
2021-05-03When parsing a variable value within double quotes, allow an escapedMark Lumsden
2021-04-20Indicate if an mg function is unsuitable for a startup file (requiresMark Lumsden
2021-04-20Allow more than one block of code to exist on a single line. Also,Mark Lumsden
2021-03-26Add 'get-environment-variable', in a fashion:Mark Lumsden
2021-03-26Change the regex for define names. Make more characters available.Mark Lumsden
2021-03-26Change two more bool counters to pointer NULL checks.Mark Lumsden
2021-03-25Move the expression list create item code into a single function.Mark Lumsden
2021-03-25Add an (exit) method.Mark Lumsden
2021-03-25User a pointer's value (!NULL) instead of a boolean to indicate someMark Lumsden
2021-03-25Use length of line to indicate end of characters to process inMark Lumsden
2021-03-23Make a parameter to an mg function not throw an error justMark Lumsden
2021-03-22Start the move to TAILQ for expressions instead of an SLIST.Mark Lumsden
2021-03-21Add quoted strings capability in list values, no special charsMark Lumsden
2021-03-20Looking at loading all expressions initially, working towards multiMark Lumsden
2021-03-08Start looking at parsing text to find separators.Mark Lumsden
2021-03-08Put regex tests into a function.Mark Lumsden
2021-03-02It is now possible to define single value variables in the startup file:Mark Lumsden
2021-02-24Various fixes from emails Joachim Nilsson sent to tech@ many moonsMark Lumsden
2019-07-20Missed a free.Mark Lumsden
2019-07-20Move a bit of code to where it is called only if needed.Mark Lumsden
2019-07-19Previously I left the ')' on the end of a list to indicate the end.Mark Lumsden
2019-07-18Add logging to interpreter.cMark Lumsden
2019-07-18Add some more basic interpreter functionality to mg. Needs a lot moreMark Lumsden