flyx
ac9c2126e6
Added BiggestUInt ( #5378 )
2017-02-13 11:20:07 +01:00
Araq
b357e80833
added strscans stdlib module
2016-05-10 22:03:07 +02:00
Araq
c55ff72ea7
split too long lines
2016-05-10 22:03:07 +02:00
Anatoly Galiulin
c34a68d76f
Remove dead code
2016-03-31 10:51:40 +06:00
Anatoly Galiulin
9aa845c6b6
Add parseUInt and parseBiggestUInt functions to stdlib (parseutils, strutils)
2016-03-30 17:38:57 +06:00
Andreas Rumpf
2c2ab6884c
fixes strutils.unescape; refs #3634
2016-01-17 21:29:25 +01:00
Araq
8d39669233
fixes #2909
2015-06-15 00:56:20 +02:00
Oleh Prypin
22db40e5e4
Turn some test outputs into actual tests
2015-04-21 15:59:32 +03:00
Oleh Prypin
32109a7867
Don't run non-test code when defined(testing)
2015-04-21 14:37:29 +03:00
Federico Ceratto
657dca5c3b
Fix typos
2015-02-15 16:20:32 +00:00
Federico Ceratto
c95f6f117a
Fix typos
2015-02-15 16:06:06 +00:00
Araq
8f587e2eab
fixes #2041
2015-01-31 11:49:19 +01:00
Araq
b2d1889951
bugfix: don't overwrite the number value in case of a parsing error
2015-01-27 01:33:48 +01:00
Araq
7b480ea2ba
got rid of old code that used to be required for bootstrapping
2014-12-08 08:43:56 +01:00
Araq
4523b29d7a
Nimrod renamed to Nim
2014-08-28 09:59:26 +02:00
Araq
11b6958755
big rename
2014-08-27 23:42:51 +02:00
Araq
2f43fdb837
renamefest
2014-08-23 01:43:49 +02:00
Araq
a7911addf7
parseBiggestFloat is now builtin
2014-07-16 00:41:03 +02:00
Reimer Behrends
8b8a21cb59
Fixed parsing of float literals.
...
Float literals were not parsed properly when their fractional part
exceeded 53 significant bits. This affected in particular math.PI
and math.E. Rather than reinventing the wheel, this patch reuses
C's strtod() implementation, which already does the heavy lifting
with respect to correctness, though some caution is necessary to
keep float parsing locale-independent.
2014-05-23 11:27:39 +02:00
Araq
73c6efdf66
'nil' as a statement is deprecated, use an empty 'discard' instead
2014-01-19 16:54:59 +01:00
Araq
92b8fac94a
case consistency part 4
2013-12-27 23:10:36 +01:00
Araq
2df9b442c6
case consistency part 1
2013-12-27 15:48:53 +01:00
Grzegorz Adam Hankiewicz
67cea2b9b5
Explains parseHex initialization quirk.
2013-07-16 01:11:20 +02:00
Araq
6c8e740b57
made parseBiggestFloat faster for large exponents
2013-07-01 00:33:11 +02:00
Grzegorz Adam Hankiewicz
72a3e21f28
Removes executable bit for text files.
2013-03-16 23:53:07 +01:00
dom96
92a7933504
The httpserver module now supports POST requests. Fix for captureBetween in the parseutils module.
2012-05-06 23:03:18 +01:00
Araq
b2746c4659
added system.setControlCHook, system.writeStackTrace
2012-02-19 23:37:37 +01:00
Araq
ccd58fba2c
bugfix: semfold supports merging of '&'
2012-02-19 21:01:04 +01:00
Araq
4f1b89c30c
year 2012 for most copyright headers
2012-01-02 23:07:35 +01:00
dom96
264de4537e
Added ftpclient module. Fixed docs in sockets module. Added dll tests to test suite.
2011-11-04 00:22:04 +00:00
Araq
d819350145
bugfix: new GCC version requires -ldl to come after object files
2011-11-03 20:17:46 +01:00
Araq
9fb36bd20c
compilation cache: mostly working; generics not yet
2011-10-25 15:26:36 +02:00
Araq
7c34357856
bugfix: $ escaping in interpolatedFragments
2011-09-26 07:45:33 +02:00
Araq
14968fba46
bugfix: internal error in evalFieldAccess; parseutils.interpolatedFragments optimized; tstringinterp.nim now works
2011-09-26 00:24:06 +02:00
Zahary Karadjov
9acfc43119
using statement (ala C#) implemented as macro (added as test).
...
simplified the usage of the interpolatedFragments iterator.
2011-09-20 14:13:45 +03:00
Zahary Karadjov
dbcca9b3b9
Moved the parseAST magics to evals.nim
...
Added string interpolation helper routines in parserutils
Added a proof-of-concept string interpolation user-land macros (currently, only as a test case):
the interpolated expression could either be transformed to
concat("literal string ", $(interpolated), " end") or
"literal string $1 end" % [$(interpolated)]
Added a very initial definition of Optional[T] generic type
A new overload of ParseIdent was added in hope to get around the fact that the
old one doesn't work correctly in macros, but the problem persists.
2011-09-20 14:13:45 +03:00
Araq
569c1ce5ec
bugfix: proper cache for generic instantiations
2011-07-21 00:57:39 +02:00
Araq
3e9dcc8be5
deprecated system.copy: use system.substr instead
2011-05-14 01:13:44 +02:00
Araq
d1b766cec0
hashtables: 1st version; parseutils additions
2011-04-18 23:41:31 +02:00
Araq
ae5074455d
$ for strtabs; skipUntil, skipWhile for parseutils
2011-04-05 00:33:32 +02:00
Andreas Rumpf
8098e2a421
inlining of the write barrier for dlls
2010-08-08 22:45:21 +02:00
Andreas Rumpf
40ea1d0330
fixed pango/pangoutils new wrappers
2010-02-26 01:26:16 +01:00
rumpf_a@web.de
40a5d6c3b9
continued work on html/xmlparser
2010-02-14 00:29:35 +01:00
Andreas Rumpf
eca05d2a33
cleanup of library docs
2010-02-04 00:47:59 +01:00
Andreas Rumpf
6ecbed7284
added system.del; delete; insert
2010-02-02 19:20:16 +01:00
rumpf_a@web.de
e22c73fd89
parseutils added
2010-01-31 14:33:33 +01:00