Menu

PhpMyCodeGenerator & PhpMyCellScript / News: Recent posts

PhpMyCodeGenerator 1.8.3 Released

This release fixes the instructions FOREACH and ITERATOR to rewind an iterator on the first iteration to follow the behaviour of the PHP foreach construct.
A bug in directory file generation script is fixed to prevent exceeding Excel's max cell size.
Also, a new instruction SELECT_DIR is added to MyExcelScript for selecting a directory through a dialog.

Posted by Tsoi Yat Shing 2010-10-17

PhpMyCodeGenerator 1.8.2 Released

This release fixes some bugs in the directory file generation script, like to make it work with non-ASCII source file, and to handle HTML better to prevent problems in Excel.

Posted by Tsoi Yat Shing 2010-10-15

PhpMyCodeGenerator 1.8.1 Released

This release just fixes the example directory file generation script to make it work on file name with the "$" character.
The example directory file generation script supports more source file extensions too.

Posted by Tsoi Yat Shing 2010-10-12

PhpMyCodeGenerator 1.8.0 Released

This release adds four instructions to MyExcelScript: FOREACH, ITERATE, ECHO_ROW and MKDIR.
FOREACH makes it easier to iterate through an array.
ITERATE is a more general instruction to work with any PHP iterators.
ECHO_ROW and MKDIR are added to support a new script which can process a directory and then generate another script to reproduce the directory.

Posted by Tsoi Yat Shing 2010-10-11

PhpMyCodeGenerator 1.7.0 Released

This release
1) Add the ELSE instruction to MyExcelScript.
2) Add an optional parameter to the following instructions: PHP, STRING, PROMPT, ECHO, MERGE, ASSIGN, CONCAT, so that explicit variables can be used instead of the implicit saved value.
3) Add the instruction ARRAY_MERGE to MyExcelScript, to provide another way to add cell values to an array.
4) Add five instructions FILE_LOAD, FILE_SAVE, FILE_TEMP, FILE_COPY, FILE_TOUCH to MyExcelScript, with an example script to show how to download file and extract file from archive.

Posted by Tsoi Yat Shing 2010-10-03

PhpMyCodeGenerator 1.6.0 Released

This release
1) Add four instructions ODBC_CONNECT, ODBC_TABLES, ODBC_COLUMNS, ODBC_EXEC to MyExcelScript, to make it simpler to get information from DB in the spreadsheet.
2) Improve the REPLACE instruction a bit, such that it does not need to be in the column next to the FIND instruction for it to work.

Posted by Tsoi Yat Shing 2010-09-27

PhpMyCodeGenerator 1.5.1 Released

This release changes the order of the parameters to the FIND instruction, so that the most frequently used optional parameters come first.

Posted by Tsoi Yat Shing 2010-09-19

PhpMyCodeGenerator 1.5.0 Released

This release
1) Add two instructions FIND and REPLACE to MyExcelScript, which intends to make it easier to do editor-like Find/Replace programmatically.
2) Add two scripts to demonstrate how to use the new instructions to extract and sort SQL statements, and insert comments to getter and setter methods.
3) Change the ASSIGN, CONCAT and UNSET instructions to accept variables instead of variable names, so that it is possible to assign or concat the saved value to an array, and unset an array element.

Posted by Tsoi Yat Shing 2010-09-19

PhpMyCodeGenerator 1.4.2 Released

This release fixes a bug that the WHILE instruction does not work properly if the last instruction is INCLUDE.

Posted by Tsoi Yat Shing 2010-09-14

PhpMyCodeGenerator 1.4.1 Released

This release fixes a bug that the WHILE instruction does not work properly if it is the last instruction in a column.
The releases 1.3.0 and 1.4.0 are affected by this bug.

Posted by Tsoi Yat Shing 2010-09-12

PhpMyCodeGenerator 1.4.0 Released

This release makes EVAL the implicit instruction in MyExcelScript, so that it is simpler to provide PHP code in the spreadsheet.

Posted by Tsoi Yat Shing 2010-09-11

PhpMyCodeGenerator 1.3.0 Released

This release adds five instructions to MyExcelScript: EVAL, CONCAT, IF, WHILE, RETURN, which makes the language more expressive.

Posted by Tsoi Yat Shing 2010-09-11

PhpMyCodeGenerator 1.2.0 Released

This release supports passing code generator specific arguments to code generators. It also adds a PROMPT instruction to MyExcelScript, and renames the HEREDOC instruction to STRING.

Posted by Tsoi Yat Shing 2010-09-04

PhpMyCodeGenerator 1.1.0 Released

This release adds an example for interpreting a personal scripting language, called MyExcelScript.

Posted by Tsoi Yat Shing 2010-09-01