branch : pmacs2
This commit is contained in:
moculus 2007-10-22 00:52:48 +00:00
parent ebd455135f
commit e4a0daf24e
30 changed files with 30 additions and 30 deletions

View File

@ -1,5 +1,5 @@
import re, sys import re, sys
from lex3 import Token from lex import Token
color_list = [] color_list = []
color_list.extend(['\033[3%dm' % x for x in range(0, 8)]) color_list.extend(['\033[3%dm' % x for x in range(0, 8)])

View File

@ -1,6 +1,6 @@
import commands import commands
import color, mode2 import color, mode2
from lex3 import Grammar, PatternRule, RegionRule, Grammar from lex import Grammar, PatternRule, RegionRule, Grammar
from method import Method from method import Method
from mode.perl import PerlGrammar from mode.perl import PerlGrammar
from mode.xml import TagGrammar from mode.xml import TagGrammar

View File

@ -1,7 +1,7 @@
import color, mode2 import color, mode2
from point import Point from point import Point
from lex3 import Grammar, PatternRule, RegionRule from lex import Grammar, PatternRule, RegionRule
class MetadataGrammar(Grammar): class MetadataGrammar(Grammar):
rules = [ rules = [

View File

@ -1,6 +1,6 @@
import os, popen2, re import os, popen2, re
import color, default, method, mode2, tab2 import color, default, method, mode2, tab2
from lex3 import Grammar, PatternRule, RegionRule from lex import Grammar, PatternRule, RegionRule
from mode.python import StringGrammar from mode.python import StringGrammar
# this might not be complete... # this might not be complete...

View File

@ -1,5 +1,5 @@
import color, mode2 import color, mode2
from lex3 import Grammar, PatternRule, RegionRule from lex import Grammar, PatternRule, RegionRule
from mode.python import StringGrammar from mode.python import StringGrammar
class ConsoleGrammar(Grammar): class ConsoleGrammar(Grammar):

View File

@ -1,6 +1,6 @@
import code, string, StringIO, sys, traceback import code, string, StringIO, sys, traceback
import color, completer, method, mode2 import color, completer, method, mode2
from lex3 import Grammar, PatternRule from lex import Grammar, PatternRule
from point import Point from point import Point
class ConsoleMini(mode2.Fundamental): class ConsoleMini(mode2.Fundamental):

View File

@ -1,5 +1,5 @@
import color, mode2 import color, mode2
from lex3 import Grammar, PatternRule, NocasePatternRule, RegionRule, NocaseRegionRule from lex import Grammar, PatternRule, NocasePatternRule, RegionRule, NocaseRegionRule
from point import Point from point import Point
class StringGrammar(Grammar): class StringGrammar(Grammar):

View File

@ -1,5 +1,5 @@
import color, method, mode2, re import color, method, mode2, re
from lex3 import Grammar, PatternRule, RegionRule from lex import Grammar, PatternRule, RegionRule
class DiffGrammar(Grammar): class DiffGrammar(Grammar):
rules = [ rules = [

View File

@ -1,6 +1,6 @@
import commands, dirutil, grp, method, mode2, os.path, pwd, re import commands, dirutil, grp, method, mode2, os.path, pwd, re
import buffer, window2 import buffer, window2
from lex3 import Grammar, PatternRule, RegionRule, PatternGroupRule from lex import Grammar, PatternRule, RegionRule, PatternGroupRule
from point import Point from point import Point
from method import Method, Argument from method import Method, Argument

View File

@ -1,7 +1,7 @@
import commands, os.path, sets, string, sys, traceback import commands, os.path, sets, string, sys, traceback
import color, completer, default, mode2, method, regex, tab2 import color, completer, default, mode2, method, regex, tab2
from point import Point from point import Point
from lex3 import Grammar, PatternRule, RegionRule, OverridePatternRule from lex import Grammar, PatternRule, RegionRule, OverridePatternRule
class StringGrammar(Grammar): class StringGrammar(Grammar):
rules = [ rules = [

View File

@ -1,6 +1,6 @@
import string import string
import color, mode2 import color, mode2
from lex3 import Grammar, PatternRule, RegionRule from lex import Grammar, PatternRule, RegionRule
from method import Method, Argument from method import Method, Argument
from point import Point from point import Point

View File

@ -1,5 +1,5 @@
import color, mode2 import color, mode2
from lex3 import Grammar, PatternRule, RegionRule from lex import Grammar, PatternRule, RegionRule
from mode.xml import TagGrammar from mode.xml import TagGrammar
from mode.javascript import JavascriptGrammar, Javascript from mode.javascript import JavascriptGrammar, Javascript

View File

@ -1,5 +1,5 @@
import color, mode2, tab2 import color, mode2, tab2
from lex3 import Grammar, PatternRule, RegionRule from lex import Grammar, PatternRule, RegionRule
from mode.python import StringGrammar from mode.python import StringGrammar
from mode.c import CTabber from mode.c import CTabber

View File

@ -1,5 +1,5 @@
import color, mode2, tab2 import color, mode2, tab2
from lex3 import Grammar, PatternRule, RegionRule from lex import Grammar, PatternRule, RegionRule
from point import Point from point import Point
from mode.python import StringGrammar from mode.python import StringGrammar

View File

@ -1,7 +1,7 @@
import commands, os.path, sets, string, sys, traceback import commands, os.path, sets, string, sys, traceback
import color, completer, default, mode2, method, regex, tab2 import color, completer, default, mode2, method, regex, tab2
from point import Point from point import Point
from lex3 import Grammar, PatternRule, RegionRule, OverridePatternRule from lex import Grammar, PatternRule, RegionRule, OverridePatternRule
from mode.python import StringGrammar from mode.python import StringGrammar
class LispGrammar(Grammar): class LispGrammar(Grammar):

View File

@ -1,5 +1,5 @@
import color, mode2 import color, mode2
from lex3 import Grammar, PatternRule, RegionRule, PatternGroupRule from lex import Grammar, PatternRule, RegionRule, PatternGroupRule
from mode.sh import ShGrammar, Sh from mode.sh import ShGrammar, Sh
class StringGrammar(Grammar): class StringGrammar(Grammar):

View File

@ -1,7 +1,7 @@
import re import re
import color, mode2, method import color, mode2, method
import mode.text import mode.text
from lex3 import Grammar, PatternRule from lex import Grammar, PatternRule
class MuttGrammar(Grammar): class MuttGrammar(Grammar):
rules = [ rules = [

View File

@ -1,5 +1,5 @@
import color, mode2 import color, mode2
from lex3 import Grammar, PatternRule, RegionRule from lex import Grammar, PatternRule, RegionRule
class StringGrammar(Grammar): class StringGrammar(Grammar):
rules = [ rules = [

View File

@ -1,7 +1,7 @@
import commands, os.path, sets, string, sys, traceback import commands, os.path, sets, string, sys, traceback
import color, completer, default, mode2, method, regex, tab2 import color, completer, default, mode2, method, regex, tab2
from point import Point from point import Point
from lex3 import Grammar, PatternRule, RegionRule, NocasePatternRule from lex import Grammar, PatternRule, RegionRule, NocasePatternRule
class StringGrammar(Grammar): class StringGrammar(Grammar):
rules = [ rules = [

View File

@ -1,7 +1,7 @@
import re, sets, string, sys import re, sets, string, sys
import color, commands, default, method, mode2, regex, tab2 import color, commands, default, method, mode2, regex, tab2
from point import Point from point import Point
from lex3 import Grammar, PatternRule, ContextPatternRule, RegionRule, OverridePatternRule, PatternGroupRule from lex import Grammar, PatternRule, ContextPatternRule, RegionRule, OverridePatternRule, PatternGroupRule
from method import Argument, Method, WrapParagraph from method import Argument, Method, WrapParagraph
class PodGrammar(Grammar): class PodGrammar(Grammar):

View File

@ -1,7 +1,7 @@
import commands, os.path, sets, string, sys, traceback import commands, os.path, sets, string, sys, traceback
import color, completer, default, mode2, method, regex, tab2 import color, completer, default, mode2, method, regex, tab2
from point import Point from point import Point
from lex3 import Grammar, PatternRule, RegionRule, OverridePatternRule from lex import Grammar, PatternRule, RegionRule, OverridePatternRule
class StringGrammar(Grammar): class StringGrammar(Grammar):
rules = [ rules = [

View File

@ -1,5 +1,5 @@
import color, mode2 import color, mode2
from lex3 import Grammar, PatternRule, RegionRule, PatternGroupRule from lex import Grammar, PatternRule, RegionRule, PatternGroupRule
class RSTString(Grammar): class RSTString(Grammar):
rules = [ rules = [

View File

@ -1,7 +1,7 @@
import commands, os.path, sets, string, sys, traceback import commands, os.path, sets, string, sys, traceback
import color, completer, default, mode2, method, regex, tab2 import color, completer, default, mode2, method, regex, tab2
from point import Point from point import Point
from lex3 import Grammar, PatternRule, RegionRule, OverridePatternRule from lex import Grammar, PatternRule, RegionRule, OverridePatternRule
import mode.lisp import mode.lisp
class SchemeGrammar(Grammar): class SchemeGrammar(Grammar):

View File

@ -1,6 +1,6 @@
import commands import commands
import color, mode2, tab2 import color, mode2, tab2
from lex3 import Grammar, PatternRule, RegionRule from lex import Grammar, PatternRule, RegionRule
from method import Method from method import Method
class StringGrammar(Grammar): class StringGrammar(Grammar):

View File

@ -1,5 +1,5 @@
import mode2, tab2 import mode2, tab2
from lex3 import Grammar, PatternRule, NocasePatternRule, RegionRule, NocaseRegionRule from lex import Grammar, PatternRule, NocasePatternRule, RegionRule, NocaseRegionRule
from mode.python import StringGrammar from mode.python import StringGrammar
class PlPgSqlGrammar(Grammar): class PlPgSqlGrammar(Grammar):

View File

@ -1,5 +1,5 @@
import color, mode2, method, ispell import color, mode2, method, ispell
from lex3 import Token, Rule, PatternRule, RegionRule, Grammar from lex import Token, Rule, PatternRule, RegionRule, Grammar
class WordRule(PatternRule): class WordRule(PatternRule):
def __init__(self): def __init__(self):

View File

@ -1,5 +1,5 @@
import color, mode2, mode.text, method, ispell import color, mode2, mode.text, method, ispell
from lex3 import Token, Rule, PatternRule, RegionRule, Grammar from lex import Token, Rule, PatternRule, RegionRule, Grammar
from mode.text import WordRule, ContinuedRule from mode.text import WordRule, ContinuedRule
class Text2Grammar(Grammar): class Text2Grammar(Grammar):

View File

@ -1,5 +1,5 @@
import color, mode2 import color, mode2
from lex3 import Grammar, PatternRule, RegionRule from lex import Grammar, PatternRule, RegionRule
#from mode.xml import TagGrammar #from mode.xml import TagGrammar
from mode.perl import StringGrammar from mode.perl import StringGrammar

View File

@ -1,5 +1,5 @@
import color, mode2 import color, mode2
from lex3 import Grammar, PatternRule, RegionRule from lex import Grammar, PatternRule, RegionRule
class TagGrammar(Grammar): class TagGrammar(Grammar):
rules = [ rules = [

View File

@ -1,6 +1,6 @@
import os, sets, string import os, sets, string
import color, method import color, method
from lex3 import Lexer from lex import Lexer
from point import Point from point import Point
DEBUG = False DEBUG = False