views:

280

answers:

5

Hi! I guess topic says it all! But, I really wan't a syntax similar to Python's! And low-level... like C++ for example. I guess Java and C# is OK too, but I really have a huge problem with the { }, and always ; <-- and each line. I hate it so much...

+4  A: 

Cython.

Ignacio Vazquez-Abrams
+9  A: 

cython may be pretty close to what you want: syntax just about identical to Python, and you can basically write C-level code in it. It's tuned to generate Python-usable extensions, but you could then "freeze" them into a stand-alone executable.

boo is another language with very Python-like syntax, and semantics to about the level of C# (also .NET oriented, but there's a JVM-oriented version in the works, I hear).

Alex Martelli
boo looks awesome! Thx!
slowkvant
+2  A: 

Google's Go language was designed with Python syntax in mind though its got a hell of a lot of C in its genes too.

jkp
Go does have curly braces and I believe semicolons (they are present in the tutorial, even if not in any of the given examples --are they optional?)
David Rodríguez - dribeas
+4  A: 

Cobra compiles to C#. Variables get typed after their first usage. Performance is about the same as C#.

Kri-ban
A: 

Genie could be what you are looking for. Is a python-like language (at least no semicolons) that compiles to c.

Pablo Grisafi