radon-project / radon

The Radon Programming Language
https://radon-project.github.io
GNU General Public License v3.0
23 stars 3 forks source link

Shell (REPL) multi-line issue. #6

Open Almas-Ali opened 11 months ago

Almas-Ali commented 11 months ago

In main directory radon.py (REPL) shell has multi-line support issue. It's only depends on calculating curly braces. Need to figure out the solution.

Almas-Ali commented 7 months ago

REPL is not capable enough to handle { braces expressions. Example:

# Won't work
fun anything() 
{
    nothing = null
}

Also can't handle multiple braces in a single line.

This all need to be fix.