aboutsummaryrefslogtreecommitdiffstats
path: root/edify/lexer.l
Commit message (Collapse)AuthorAgeFilesLines
* add missing includes to fix mac build (maybe)Doug Zongker2010-02-191-0/+2
| | | | Change-Id: Id2712940c4929f3a8b3ba5d4e9e03bb8034747ee
* fixes to edify and updater scriptDoug Zongker2009-06-121-17/+30
| | | | | | | | | | | | | | | | | | | | | A few more changes to edify: - fix write_raw_image(); my last change neglected to close the write context, so the written image was corrupt. - each expression tracks the span of the source code from which it was compiled, so that assert()'s error message can include the source of the expression that failed. - the 'cookie' argument to each Function is replaced with a State object, which contains the cookie, the source script (for use with the above spans), and the current error message (replacing the global variables that were used for this purpose). - in the recovery image, a new command "ui_print" can be sent back through the command pipe to cause text to appear on the screen. Add a new ui_print() function to print things from scripts. Rename existing "print" function to "stdout".
* edify extensions for OTA package installation, part 1Doug Zongker2009-06-111-1/+1
| | | | | | | | | | | | | | | Adds the following edify functions: mount unmount format show_progress delete delete_recursive package_extract symlink set_perm set_perm_recursive This set is enough to extract and install the system part of a (full) OTA package. Adds the updater binary that extracts an edify script from the OTA package and then executes it. Minor changes to the edify core (adds a sleep() builtin for debugging, adds "." to the set of characters that can appear in an unquoted string).
* core of edify, an eventual replacement for amendDoug Zongker2009-06-091-0/+97
Edify is a simple scripting language for OTA installation, to be used when we move to OTAs being installed via binaries shipped with the package.