wiki:Programming Languages

Version 1 (modified by szabgab, 5 years ago) (diff)

--

On this page we try to design how Padre should handle various needs of programming languages and file types.

Every type can have several tools for syntax highlighting, for execution, help, etc

Syntax highlighting can be by

  • Scintilla (STC)
  • Kate plugin (which is just a few regular expressions in Perl 5)
  • Parrot parse tree
  • Other

Execution

  • Various implementations

Perl 5

Syntax highlighting

  • STC - old but fast
  • PPI - slow and quite good
  • Kate - ?
  • Parrot - NO

Execution

There can be several different versions

Perl 6

syntax highlighting

by STD (in Plugin:Perl6) by simple vi-style regex (will be in Plugin::Perl6 or separately to reduce the need for prereqs?) by Parrot (subclass if Plugin::Parrot?)

running

by on Parrot/Rakudo? (Parrot build, languages/perl6 build) by Pugs ? etc...

embedding

by Parrot + Rakudo + Parrot::Interpreter (Parrot built, languages/perl6 built, Parrot::Embed built)

PASM

syntax highlighting

by simple regex by Parrot

execution

by Parrot

embedding

by Parrot + Parrot::Interpreter

Python

  • Pynie

PHP

  • Pipp