TextMate
The TextMate bundle for Pike is a work in progress by Bill Welliver. It's already quite useful, and has the following features:- code folding (TextMate folding is based on a combination of delimiters and indentation, so you have to be fairly consistent about your indentation within a code block.)
--langdef=pike --langmap=pike:.pike.pmod --regex-pike=/[t]*(<(public|inline|final|static|protected|local|optional|private|nomask|variant)>[t]{1,})*(<class>)[t]{1,}<([a-zA-Z?-?_][a-zA-Z?-?_0-9]*)>/4/ --regex-pike=/[t]*(<(mixed|float|int|program|string|function|function(.*)|array|array(.*)|mapping|mapping(.*)|multiset|multiset(.*)|object|object(.*)|void|constant|class)>)*|<([A-Z?-??-?][a-zA-Z?-?_0-9]*)>)[t]{1,}(<([_a-zA-Z?-?][_a-zA-Z?-?0-9]*)>|``?(!=|->=?|<[<=]|==|>[=>]|[]=?|()|[%-!^&+*<>|~/]))[t]*(/4/ --regex-pike=/#[ t]*define[ t]+([_a-zA-Z]+)(?/1/ Powered by PikeWiki2 |
|||
gotpike.org | Copyright © 2004 - 2009 | Pike is a trademark of Department of Computer and Information Science, Linköping University |