summary refs log tree commit diff stats
path: root/compiler/transf.nim
Commit message (Expand)AuthorAgeFilesLines
* implemented procCall builtinAraq2014-11-281-5/+9
* Merge branch 'devel' into bigbreakAraq2014-11-031-0/+3
|\
| * Fix dispatcher creation for method prototypes.Reimer Behrends2014-11-021-4/+3
| * Fix method recursion bug.Reimer Behrends2014-10-311-1/+5
* | Nimrod renamed to NimAraq2014-08-281-1/+1
* | the big renamefest: first stepsAraq2014-08-221-2/+2
|/
* fixes recently introduced regressionAraq2014-08-211-14/+43
* fixes #1418Araq2014-08-201-29/+44
* fixes #1319Araq2014-06-301-1/+4
* fixes #866Araq2014-04-061-0/+1
* fixes #404Araq2014-03-231-11/+1
* implements higher-order inline iterators and return type inference for iteratorsZahary Karadjov2014-03-081-5/+7
* split the inline and closure iterators into different symbol kinds for easier...Zahary Karadjov2014-03-061-4/+3
* fixes #584Araq2014-02-141-0/+1
* Merge branch 'devel' of https://www.github.com/Araq/Nimrod into develZahary Karadjov2014-01-261-4/+7
|\
| * closure iterators almost workAraq2014-01-231-6/+6
| * next steps for closure iteratorsAraq2014-01-221-0/+3
* | implements #766;Zahary Karadjov2014-01-241-1/+1
|/
* 'nil' as a statement is deprecated, use an empty 'discard' insteadAraq2014-01-191-2/+2
* case consistency: cs:partial bootstraps on windowsAraq2013-12-291-2/+2
* case consistency: next stepsAraq2013-12-291-24/+24
* case consistency part 4Araq2013-12-271-13/+13
* case consistency part 1Araq2013-12-271-1/+1
* VM now supports lambda liftingAraq2013-11-061-4/+1
* improvements for TR macrosAraq2013-09-171-0/+30
* fixes lots of regressionsAraq2013-06-291-1/+1
* some small performance improvement for the evaluatorAraq2013-06-281-14/+15
* implemented large parts of the 'not nil' checkingAraq2013-06-091-3/+4
* fixes #287; bugfix: subrange checking is performed againAraq2013-04-121-5/+6
* Removes executable bit for text files.Grzegorz Adam Hankiewicz2013-03-161-0/+0
* merged upstream masterZahary Karadjov2013-01-271-3/+3
|\
| * implements #295Araq2013-01-081-3/+3
* | caas is now drivable through stdinZahary Karadjov2012-11-281-6/+2
|/
* doc2 improvements; small lexer bugfix: backslashes in commentsAraq2012-11-201-0/+8
* next steps for first class iteratorsAraq2012-11-151-1/+3
* bugfix: stack traces; first class iterators almost workingAraq2012-11-151-4/+12
* bugfix: exception tracking (still disabled)Araq2012-11-011-1/+1
* exception tracking barely works; but disabledAraq2012-10-311-1/+2
* fixes #211Zahary Karadjov2012-10-131-1/+1
* small bugfixes; reactivated tests/compileAraq2012-09-111-3/+8
* first steps to deprecate 'nil' statementAraq2012-09-091-15/+8
* bugfix for methods (comment in #185)Araq2012-08-221-4/+7
* next steps to hygienic templatesAraq2012-08-201-4/+2
* next steps for tyVarargs/tyOpenArray splitAraq2012-08-141-2/+2
* made tests green againAraq2012-08-141-1/+0
* top level closures should work; transf is not a pass anymore; next steps for ...Araq2012-08-131-113/+56
* implements #173Araq2012-07-281-2/+0
* added warning for confusing var declarationsAraq2012-07-261-1/+10
* preparations for making 'closure' the default calling convention for proc typesAraq2012-07-161-8/+0
* changed integer promotion rules; breaks bootstrapping and lots of codeAraq2012-07-081-1/+0
bracket_content: yield ord(c) yield ord('>') except TypeError: yield keys # it was no tuple, just an int else: bracket_content.append(char) else: if char == '<': in_brackets = True bracket_content = [] else: yield ord(char) if in_brackets: yield ord('<') for c in bracket_content: yield ord(c) # Arbitrary numbers which are not used with curses.KEY_XYZ DIRKEY = 9001 ANYKEY = 9002 PASSIVE_ACTION = 9003 special_keys = { 'dir': DIRKEY, 'any': ANYKEY, 'bg': PASSIVE_ACTION, 'bs': curses.KEY_BACKSPACE, 'backspace': curses.KEY_BACKSPACE, 'backspace2': curses.ascii.DEL, 'delete': curses.KEY_DC, 'cr': ord("\n"), 'enter': ord("\n"), 'return': ord("\n"), 'space': ord(" "), 'esc': curses.ascii.ESC, 'escape': curses.ascii.ESC, 'down': curses.KEY_DOWN, 'up': curses.KEY_UP, 'left': curses.KEY_LEFT, 'right': curses.KEY_RIGHT, 'pagedown': curses.KEY_NPAGE, 'pageup': curses.KEY_PPAGE, 'home': curses.KEY_HOME, 'end': curses.KEY_END, 'tab': ord('\t'), 's-tab': curses.KEY_BTAB, } for char in ascii_lowercase: special_keys['c-' + char] = ord(char) - 96 for char in (ascii_lowercase + '0123456789'): special_keys['a-' + char] = (27, ord(char)) for n in range(64): special_keys['f' + str(n)] = curses.KEY_F0 + n