radon-project / radon

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

Shell (REPL) multi-line issue. #6

Open Almas-Ali opened 6 months ago

Almas-Ali commented 6 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 2 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.