Ezhil-Language-Foundation / Ezhil-Lang

எழில் - ஒரு தமிழ் நிரலாக்க மொழி; தமிழ் மாணவர்களுக்கு இது முதல்முறை கணிப்பொறி நிரல் ஏழுத உதவும் (Ezhil, is a fun Tamil programming language for K-12).
http://ezhillang.org/
GNU General Public License v3.0
169 stars 46 forks source link

2foo, 2f00 என்ற மாறிகள் 'lexical' பிழை தர வேண்டும் #138

Open arcturusannamalai opened 8 years ago

arcturusannamalai commented 8 years ago

தற்போது 'runtime' பிழை தருகிரது

Stack traceback:

எழில் 4>> 2f00
ERROR : Run-time error: Cannot Find Identifier f00 at Line 5, col 1. 
Traceback (most recent call last):
  File "/usr/local/Cellar/python/2.7.14_3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/local/Cellar/python/2.7.14_3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/Users/muthu/devel/ezhil-lang/ezhil/__main__.py", line 12, in <module>
    main()
  File "ezhil/ezhil.py", line 455, in main
    ezhil_interactive_interpreter(lang,debug)
  File "ezhil/ezhil.py", line 422, in ezhil_interactive_interpreter
    REPL( lang, lexer, parse_eval, debug )
  File "ezhil/Interpreter.py", line 883, in __init__
    self.cmdloop()
  File "/usr/local/Cellar/python/2.7.14_3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/cmd.py", line 142, in cmdloop
    stop = self.onecmd(line)
  File "/usr/local/Cellar/python/2.7.14_3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/cmd.py", line 215, in onecmd
    return self.default(line)
  File "ezhil/Interpreter.py", line 965, in default
    print(u"Exception in code, at line %d,  \"%s\" \n >>>>>>> %s "%(self.line_no-1,line,unicode(excep)))
  File "ezhil/errors.py", line 28, in __unicode__
    return u" ".join(self.args)
TypeError: sequence item 1: expected string or Unicode, RuntimeException found