zhpy Changelog
====================

0.9.1 (09/08/2007):
--------------------
code name: Magician Red

*Changes*

* twdict, cndict now shown in plugin
* worddict formed dynamically without exceptions
* keyword changes
  * "中斷" instead of "中止"
  
*Features*

* add keyword:
  * "假使":"elif"
  * "周蟒":"zhpy"
  * "中文執行":"zh_exec", "中文执行":"zh_exec"

*Fixes*

* better formatted "zhpy --info" command
* 'byte of zhpy' doc update

*Project Updates*

* add download url

*Contributors*

Fred Lin

0.9 (09/05/2007):
------------------
code name: The World

*Changes*

* able to pass target dict to merger function

*Features*

* module keyword library plug-in system by annotator
* plug-in support for rev_annotator
* annotation support in interpreter
* add command line option '-V/info' for zhpy complete information
* add zhpy_ext as sample plugin template
* add keyword
  * "幫助":"help", "帮助":"help"
  * "说明":"help"
* Start 'byte of zhpy' doc

*Fixes*

* use encoding utf8 as default encoding while auto detection in low confidence(<0.8)
* fix tests cases' doctest
* able to run as script without subname

*Project Updates*

*Contributors*

Fred Lin

0.8.1 (09/03/2007):
------------------
code name: Hermit Purple

*Changes*

* rename zhpyi.py to zhpy_interpreter.py
* update example test cases
* update interpreter banner

*Features*


*Fixes*

* fix interpreter multiline exception bug

*Project Updates*

* Jiahwa Huang joined as the project member

*Contributors*

Fred Lin

0.8 (08/30/2007):
------------------
code name: Stone Free

*Changes*

* move all dictionaries to zhdc.py
* move command line tool to zhpy_cmd.py
* use implicit imports
* remove -r option, use -c instead
* keyword changes
 * "開頭為" instead of "開始字串", 
 * "开头为" instead of "开始为"
 * "结尾为" instead of "结束为"
 * "結尾為" instead of "結束字串"

*Features*

* zhpy interpreter, thanks Jiahua Huang
* implement zhpy -> python libraries in pyzh.py
  * bi-directional uri variable <-> number function, prototype by Jiahua Huang
* auto detect encodings, now interpreter works on tw/cn windows
* add "-e/--encoding" option to customize the encoding for parsing
* add keyword:
  * "執行":"exec", "执行":"exec"
  * "布林":"bool", "布尔":"bool"
  * "絕對值":"abs", "绝对值":"abs"
  * "列舉":"enumerate", "列举":"enumerate"
  * "過濾":"filter", "过滤":"filter"
  * "打包":"zip"
  * "擴展":"extend", "扩展":"extend"
  * "插入":"insert", "移除":"remove","排序":"sort"
  * "彈出":"pop", "弹出":"pop"
  * "列舉":"enumerate", "列举":"enumerate"
  * "過濾":"filter", "过滤":"filter"
  * "打包":"zip", "打包":"zip", thanks HYRY
  * "型別錯誤":"TypeError", "类型错误":"TypeError"
  * "下一筆":"next", "下一笔":"next"
  * "例外":"Exception"
  * "停止迭代":"StopIteration"
  * "解碼錯誤":"UnicodeDecodeError","解码错误":"UnicodeDecodeError",
  * "導入錯誤":"ImportError","导入错误":"ImportError"

* add zhpy featured keyword
  * "主程式":'if __name__=="__main__"', "主程序":'if __name__=="__main__"'

*Fixes*

* keep twdict clean, worddict now real copy from twdict

*Project Updates*

* use .tw.py, .cn.py as another zhpy subname to distinguish the coding
* add chardet dependency

*Contributors*

Fred Lin, HYRY, Jiahua Huang

0.7 (08/25/2007):
------------------
code name: Gold Experience

*Changes*

* keyword changes
  * "全局" instead of "全局变量"
  * "导入" instead of "载入"
  * "作為" instead of "取名"
  * "尝试" instead of "试运行"
  * "异常" instead of "错误处理"
  * "集合" instead of , "类组"
  * "連接" instead of "接合"
  * "關鍵字列表" instead of "列出關鍵字"
  * "值列表" instead of "列出值"
  * "項目列表" instead of "列出項目"
* variables are changed to "p_[var]_v" syntax instead of p[num],
  thanks Jiahua Huang
* .has_key() is deprecated, use 'in'
* remove keyword
  * "有關鍵字":"has_key", "有关键字":"has_key"
  * "若":"if"
  * "開啟":"open", "开启":"open"
* remove trail space for pep8
* rename run.sh to test_example.sh
* maintain tw, cn keyword in seperate dict
* Online documents update

*Features*

* use universe reference identifier (uri) for
  variable/constant/class/methods instead of vnum, thanks Jiahua Huang
* add keyword:
  * "作为":"as"
  * "最后":"finally"
  * "宣告":"assert", "刪除":"del", "执行":"exec"
  * "或者":"or","并且":"and",
  * "不在":"not in"
  * "不為":"is not", "为":"is", "不为":"is not"
  
* add "-c/--cmd" option instead of "-r/--raw" to correspond the python command,
  "-r/--raw" will be deprecate in next release.
* also test command line options (test_example.sh)
* add contact example (cn) in loop/

*Fixes*

* able to run zhpy in __main__, thanks Jiahua Huang

*Project Updates*

* use .twpy, .cnpy as zhpy subname to distinguish the coding

*Contributors*

Fred Lin, Jiahua Huang

0.6 (08/22/2007):
------------------
code name: Crazy Diomand

*Changes*

* internal refactor the try_run method
* rename traditional chinese test cases
* Online documents update

*Features*

* add "-r/--raw": "input raw zhpy source and run" option for
  scripting usage, idea from Jiahua Huang
* add simplified chinese test cases
* Add doctests
* add keyword:
  * "实": "True"
  * "类型":"type"
  * "读取":"read", "写入":"write"
  * "读一行":"readline", "读多行":"readlines"
  * "开启":"open", "打开":"open",
  * "關閉":"close", "关闭":"close"
  
*Fixes*

* "不是":"is not" instead of "不是":"not"
* zhpy.py use normal unix \n instead of mac \r, thanks Jiahua Huang

*Project Updates*

* Increase cheesecake_ rating
  * Add license statement
  * Add todo list
  * Add authors list
  * Add docs/
* Add example test runner
* Remove redundent files
* Update setup information

.. _cheesecake: http://www.pycheesecake.org/

*Contributors*

Fred Lin, Jiahua Huang

0.5 (08/19/2007):
------------------
code name: Star Platinum

*Changes*

*Features*

* implement zh_exec, now it's possible to test zhpy in interpretor, or
  embeded zhpy in python source
* add test cases

*Fixes*

* Now parser matches all quotes (single quote, double quote, triple quote)
* fix game example

*Project Updates*

* Add README file
* Add tests folder

*Contributors*

Fred Lin

0.4 (08/16/2007):
------------------
code name: Dio

*Changes*

* keywords changes
"浮點數":"float" instead of "小數"

*Features*

* Enhanced command parser with 2 basic option
  * add "-i": input option
  * add "-o": output option
* add "-p": "compile to python and run" option, which generate 
  python source with 'n_' prefix.
* More keywords
  * "數組":"tuple", "類組":"set"
  * "数组":"tuple", "类组":"set"
  * "編碼":"encoding", "解碼":"decoding"
  * "编码":"encoding", "解码":"decoding"
  * "開啟":"open", "讀取":"read", "寫入":"write" 
  * "讀一行":"readline", "讀多行":"readlines"
  * "接合":"join", "分離":"split"
  * "分离":"split"
                 
*Fixes*

*Project Updates*

* update classifiers information
* move to beta phase

*Contributors*

Fred Lin

0.3 (08/13/2007):
------------------
code name: JoJo

*Changes*

* Trad keyword changes: 
  * "傳回":"return"
  * "假使":"elif" and "否則如果":"elif" instead of '不然'
  * "中止":"break"
  * "方程式":"lambda" instead of "函式"
  * "產生":"yield" instead of  "圈"
  * "示警":"raise" instead of "舉出"
  * "共用":"global" instead of "全域"

* Smpl keyword changes:
  * "函数":"lambda"
  * "产生":"yield",
  * "继续":"continue"
  ＊ "传回":"return"

* Removed keywords:
  * "加":"+", "減":"-", "乘":"*", "除":"/","取餘數":"%"
  * "一":"1", "百":"100", # numbers
  
*Features*

* allow to dynamic add keywords by append ini files in same folder
* catalog keywords
* More keywords
  * "真": "True", "假":"False" 
  * "實": "True", "虛":"False" 
  * "空":"None"
  * "是":"is", "為":"is", "不是":"not"
  * "或":"or", "和":"and", "且":"and"
  * "開始字串":"startswith", "結束字串":"endswith"
  * "开始为":"startswith","结束为":"endswith"

* More Documents

*Fixes*

*Project Updates*

* Removed python version requirement
* Add ez_setup.py in project incase user haven't installed easy_install command
* Add module version info while import
* Zoom Quiet joined as the project member

*Contributors*

Fred Lin

0.2 (08/9/2007):
------------------
code name: zhou

*Changes*

* Refactored from HYRY's original script
* Add Traditional Chinese keywords

*Features*

* easy_install-abled
* executable command line
* export python source from zhpy

*Fixes*

*Project Updates*

* host on google code project

*Contributors*

Fred Lin, HYRY