This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
λ make | |
find . -name '*.pyc' -exec rm -f {} + | |
find . -name '*.pyo' -exec rm -f {} + | |
find . -name '*~' -exec rm -f {} + | |
ez_setup.py:95: trailing whitespace | |
pygments/__init__.py:21: line too long | |
pygments/formatters/img.py:114: "not found in registry'" | |
pygments/lexers/agile.py:1213: trailing whitespace | |
pygments/lexers/compiled.py:944: line too long | |
pygments/lexers/compiled.py:946: line too long |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
∴ /Users/sam/Downloads/Pygments-1.0 | |
λ make | |
find . -name '*.pyc' -exec rm -f {} + | |
find . -name '*.pyo' -exec rm -f {} + | |
find . -name '*~' -exec rm -f {} + | |
pygments/__init__.py:21: line too long | |
pygments/formatters/img.py:114: "not found in registry'" | |
pygments/lexers/compiled.py:944: line too long | |
pygments/lexers/compiled.py:946: line too long | |
pygments/lexers/compiled.py:948: line too long |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
match = '(?x) | |
( | |
\.\.\. | # "..." | |
\.\. | # ".." | |
=> | # "=>" | |
=>> | # "=>>" | |
# | |
\+\+ # "++" | |
)'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ scopeName = 'source.ioke'; | |
firstLineMatch = '^#!/.*\bioke\b'; | |
fileTypes = ( 'ik' ); | |
foldingStartMarker = '(method|do|macro|fn|fnx|describe|it)\((?![^)]*+\))'; | |
foldingStopMarker = '^\s*+\)'; | |
patterns = ( | |
{ name = 'constant.object.mimic.ioke'; | |
begin = '[[:alnum:]!?_:-]+(?=[[:space:]]*=.*mimic.*($|\.))'; | |
end = '(?=\.)|$'; | |
patterns = ( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
operator_symbols = { | |
patterns = ( | |
{ name = 'entity.operator.symbols.ioke'; | |
match = '[^.=*&|>!<%#@/\\+?$~^-](\.\.\.|===|\*\*>|&&>|\|\|>|\->>|\+>>|!>>|<>>>|&>>|%>>|#>>|@>>|/>>|\*>>|\?>>|\|>>|\^>>|~>>|\$>>|<<=|>>=|<=>|<\->|=~|!~|=>|\+\+|\-\-|<=|>=|==|!=|&&|\.\.|\+=|\-=|\*=|\/=|%=|&=|\^=|\|=|<\-|\+>|!>|<>|&>|%>|#>|@>|\/>|\*>|\?>|\|>|\^>|~>|\$>|<\->|\->|<<|>>|\?\||\?&|\|\||>|<|\*|\/|%|\+|\-|&|\^|\||=|\$)[^.=*&|>!<%#@/\\+?$~^-]'; | |
}, | |
); | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
iik> f = "test" | |
+> "test" | |
iik> Regexp from(f) | |
+> #/test/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rubygems' | |
require 'active_support' | |
class John | |
end | |
j_c = John.class_eval do | |
def hi | |
'hi' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ name = 'entity.name.function.ioke'; | |
match = '((?<![[:alnum:]!?_:])|(?<![[:alnum:]!?_:]!))(fn|fnx|method|macro|lecro|syntax|dmacro|dlecro|dlecrox|dsyntax)(?![[:alnum:]!?_:])'; | |
}, //matches method | |
{ name = 'variable.assignment.ioke'; | |
match = '[[:alnum:]_:][[:alnum:]!?_:]*(?=[[:space:]]*[+*/-]?=[^=].*($|\.))'; | |
}, // matches patternMinAndMax |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ name = 'meta.function.definition.ioke'; | |
begin = '(?<=[[:space:]][[:alnum:]_:][[:alnum:]!?_:]*[[:space:]]*=[[:space:]]*(fn|fnx|method|macro|lecro|syntax|dmacro|dlecro|dlecrox|dsyntax))'; | |
end = '\('; | |
patterns = ( | |
{ name = 'entity.name.function.ioke'; | |
match = '(fn|fnx|method|macro|lecro|syntax|dmacro|dlecro|dlecrox|dsyntax)'; | |
}, | |
); | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ name = 'meta.function.definition.method.ioke'; | |
begin = '(?<=[[:space:]][^=]*=[[:space:]]*)(?=method)'; | |
end = '\('; | |
patterns = ( | |
{ include = '$self'; }, | |
); | |
}, |