Ceebox / cbLang

A programming language made in Python
MIT License
55 stars 13 forks source link

Curly brackets syntax #4

Open UlysseBerra opened 2 years ago

UlysseBerra commented 2 years ago

Hey! I love the idea of having Python with more C-like syntax. For now, though, cbLang only supports curly brackets on another line as you'd do in C/C++/C# and doesn't support having them on the same line as you would in Java or JS. I've been trying to modify the bracket parsing code, but I haven't managed to yet. I was wondering whether it'd be even feasible to change that, or if that'd be too complicated and I should just not try.

Thanks a lot!