JetJadeja / Tanzine

A Programming Language Interpreted in Python.
MIT License
6 stars 0 forks source link

Python Error Not Covered By Parser: (KeyError: '<jet>') #15

Closed Tater-Bot closed 4 years ago

Tater-Bot commented 4 years ago

A Python error occurred when running this Tanzine: https://discordapp.com/channels/731302554784235520/731326521418973265/732105535611994122

Tanzine Code:

@FUNC@ <jet> [@i,@hate,@ben]{
  @RUN@ (/print,@i,@hate,@ben)
}

@RUN@ (<jet>,'I','Hate','Ben')

Python Error:

Traceback (most recent call last):
  File "run.py", line 10, in <module>
    parser.Parse()
  File "/root/tanzine-bot/tokens.py", line 327, in Parse
    self.run_functions(func, args)
  File "/root/tanzine-bot/tokens.py", line 369, in run_functions
    function = self.funcs[name]
KeyError: '<jet>'
JetJadeja commented 4 years ago

Error: Function jet referenced before definition! Message: This error may have been caused by a wrong function name @RUN@ (/jet ,'Key_Error')

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

transmissions11 commented 4 years ago

@JetDeveloping Commit your changes and I'll update the Tater bot.