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/Class/ --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]*)){1,}[ t]{1,}(([_a-zA-Z][_a-zA-Z0-9]*)|`?(!=|->=?|<[<=]|==|>[=>]|[]=?|()|[%--!^&+*<>|~/])))[ t]*(/1/Function/ --regex-Pike=/#[ t]*define[ t]+([_a-zA-Z]+)(?/1/Define/ Powered by PikeWiki2 |
|||
gotpike.org | Copyright © 2004 - 2009 | Pike is a trademark of Department of Computer and Information Science, Linköping University |