Home Download Buy Blog Forum Support

Cython support (and highlighting)

Cython support (and highlighting)

Postby FSX on Tue Aug 30, 2011 9:58 am

Cython is a language that makes writing C extensions for the Python language as easy as Python itself. Cython is based on the well-known Pyrex, but supports more cutting edge functionality and optimizations.
The Cython language is very close to the Python language, but Cython additionally supports calling C functions and declaring C types on variables and class attributes. This allows the compiler to generate very efficient C code from Cython code.
This makes Cython the ideal language for wrapping external C libraries, and for fast C modules that speed up the execution of Python code.


You can set the language to Python, but with certain things auto-indenting does not work (with structures for example) and the the highlighting doesn't look very good.
FSX
 
Posts: 8
Joined: Mon May 16, 2011 6:58 pm

Re: Cython support (and highlighting)

Postby joon on Tue Aug 14, 2012 7:05 pm

You can download TextMate cython bundle and use it: http://svn.textmate.org/trunk/Review/Bundles/Cython.tmbundle/

Download all the files, and just put every file into

~/.config/sublime-text-2/Packages/Cython

Hope this is helpful.

-Joon
joon
 
Posts: 4
Joined: Tue Aug 14, 2012 7:02 pm


Return to Ideas and Feature Requests

Who is online

Users browsing this forum: No registered users and 10 guests

cron