In today's post I'd like to formally announce that a new Python language add-on is coming to SyntaxEditor (WPF, Silverlight, and WinRT/XAML platforms) in its 2014.2 version.
What is Python?
Python is a very popular programming language that uses indenting to create blocks of code (as opposed to curly braces as in languages like C), and attempts to allow users to write code in fewer lines than is possible in other languages. Python has a standard library of API features that has grown very large over time.
These days, Python code comes in two flavors: v2.x syntax and v3.x syntax. Unfortunately there are breaking changes between the two syntaxes. But we've got you covered since you can tell our PythonSyntaxLanguage class which version to use and it will parse things accordingly.
Features
Here's a screenshot of the Python language in action within SyntaxEditor:
The first release of the Python language will have these features:
- Support for both Python v2.x and v3.x syntaxes.
- Syntax highlighting.
- Abstract syntax tree (AST) generation.
- Automatic code outlining based on AST structure.
- Reporting and automatic squiggle display of errors for invalid syntax.
- Mouse hover quick info for syntax errors.
- Line commenting.
- Smart indent.
- Code block selection.
- Delimiter (bracket) highlighting and auto-completion.
Beta Testers
Since this is a brand new language add-on, we would love to get your help beta testing it. If you are a SyntaxEditor customer and would like to assist us in testing the Python language add-on, please contact us at our support email address.
Summary
This new Python language add-on will roll out in the 2014.2 version of our WPF, Silverlight, and WinRT/XAML controls.