ZoomQuiet / zhpy

Automatically exported from code.google.com/p/zhpy
0 stars 0 forks source link

Support Chinese punctuations #33

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Switch to Chinese input source
2. Input: 打印 “哈啰 世界!”
3. Compile and run into problem

What is the expected output? What do you see instead?
Traceback (most recent call last):
  File "/base/data/home/apps/zhpy/4.4/shell.py", line 171, in post
    compiled = compile(statement, '<string>', 'single')
  File "<string>", line 1
    print p_201c_54c8_5570_v p_4e16_754c_v!p_201d_v
                                         ^

SyntaxError: invalid syntax

What version of the product are you using? On what operating system?
I'm using the online shell

Please provide any additional information below.
The problem is zhpy does not support Chinese quotation mark. This is acceptable 
but will is not convenient to typing source code.

Original issue reported on code.google.com by luo19930...@gmail.com on 27 Apr 2014 at 10:59

GoogleCodeExporter commented 9 years ago
zhpy is not maintained, please try blockly 
https://blockly-demo.appspot.com/static/apps/code/index.html?lang=zh-hans

Original comment by gasolin on 28 Apr 2014 at 2:51