Commit Graph

11210 Commits

Author SHA1 Message Date
Araq
a1713bc2f9 tester: htmlgen almost works 2014-01-14 01:28:52 +01:00
Araq
c648a5774a tester support html generation 2014-01-14 01:12:56 +01:00
Andreas Rumpf
3f8bfb1e98 Merge pull request #777 from fowlmouth/patch-4
Update os.nim
2014-01-13 14:39:40 -08:00
Andreas Rumpf
90721375e2 Merge pull request #779 from brihat/master
Define $ operator for TRune
2014-01-13 14:34:24 -08:00
Vincent Burns
d9a61c13dd Fix for expression parsing, 'new' is a valid C symbol 2014-01-13 02:01:10 -05:00
Vincent Burns
5f905865be Fix for some comments during if statements
added test files
2014-01-13 01:51:36 -05:00
Vincent Burns
58855c2fc7 Support more proper do..while statements 2014-01-13 01:42:26 -05:00
Vincent Burns
97eaeb3aec for statements support comma expressions 2014-01-13 01:16:24 -05:00
Araq
20b5f31c03 new tester; all tests categorized 2014-01-13 02:10:03 +01:00
Araq
51ee524109 Merge branch 'devel' of https://github.com/Araq/Nimrod into devel 2014-01-13 01:22:03 +01:00
Araq
4045d7829b fixes db_sqlite 2014-01-13 01:21:46 +01:00
Araq
1e4c4d62e4 bugfix: doc generation for actors.nim works again 2014-01-13 01:08:57 +01:00
Araq
9ab1a3c724 added test cases from strange loop event 2014-01-13 01:05:09 +01:00
Vincent Burns
570f8b21e1 New expression parser
tests pass
2014-01-12 17:13:23 -05:00
Dominik Picheta
429d337ef6 Rename C sources dir to c_code. 2014-01-12 21:48:57 +00:00
Araq
616434c492 bugfix: renderer supports 'ptr' etc. as type constraint 2014-01-12 21:41:52 +01:00
Araq
137e971547 new vm: bugfix 2014-01-12 21:40:24 +01:00
Dominik Picheta
e27e873b7b Add info about twitter and bootstrapping from github to website. 2014-01-12 20:13:26 +00:00
Vincent Burns
c5bd98b7db Properly lex floating constants
digit-sequence? '.' digit-sequence exponent-part?
digit-sequence '.' exponent-part?
exponent-part: [eE] [+-]? digit-sequence
2014-01-12 13:23:52 -05:00
Vincent Burns
2dc91cb4d5 Lex '\xHH' character constants 2014-01-12 12:53:25 -05:00
Vincent Burns
0a0fec4a5c Added spliceHeader option to c2nim
parse a header file first, then the source. completing a c 'module'
2014-01-12 12:48:06 -05:00
Josh Girvin
fb4a96ff78 Koch now uses PATH/nimrod correctly 2014-01-13 02:45:35 +10:00
Araq
346443d1b5 case consistency improvements 2014-01-11 21:56:05 +01:00
Grzegorz Adam Hankiewicz
2ed7849921 Transforms docgen sample to be generated from source. 2014-01-06 14:55:03 +01:00
Grzegorz Adam Hankiewicz
91ae5a3585 Adds some cross references to docgen manual. 2014-01-06 13:40:11 +01:00
Grzegorz Adam Hankiewicz
5844697aa6 Adds docgen to list of documentation to build. 2014-01-06 13:31:21 +01:00
Grzegorz Adam Hankiewicz
fd6bb131b8 Reformats text to fit width of 80 columns. 2014-01-06 13:22:44 +01:00
Grzegorz Adam Hankiewicz
0b6c9d7d75 Fixes two minor typos. 2014-01-06 13:18:27 +01:00
Zahary Karadjov
1280c56f38 fix bootstrapping on windows 2014-01-06 00:16:16 +02:00
Zahary Karadjov
1ffae7cbaf progress towards fixing tgenericshardcases 2014-01-06 00:15:55 +02:00
Zahary Karadjov
789ba107cf introduce tyFromExpr; fixes #618 2014-01-04 13:10:52 +02:00
Zahary Karadjov
02533c260b fixed #597 2014-01-02 17:55:18 +02:00
Erik O'Leary
e0fc07df89 Added docgen documentation 2013-12-31 19:37:20 -06:00
Zahary Karadjov
8e0941576f clean-up some obsolete code; close #602 2013-12-31 12:39:43 +02:00
Zahary Karadjov
ed3ab6539d close #517 2013-12-31 04:13:51 +02:00
Zahary Karadjov
8f3d5a25a6 Templates will pick the candidate in the nearest scope when symbols are mixed-in 2013-12-31 04:04:59 +02:00
Zahary Karadjov
754e2ef1db migrate the static param handling to ReplaceTypeVars; fix tgenericvariant 2013-12-30 19:15:41 +02:00
Dominik Picheta
fba0f33f1b Merge pull request #788 from zielmicha/httpclient-fix
httpclient: strip trailing whitespace from headers.
2013-12-30 09:13:18 -08:00
Grzegorz Adam Hankiewicz
1a4ba705f3 Merge pull request #791 from gradha/pr_removes_generated_file
Removes generated .dot file uploaded by mistake.
2013-12-30 08:59:21 -08:00
Grzegorz Adam Hankiewicz
fc68a7d880 Removes generated .dot file uploaded by mistake. 2013-12-30 17:58:05 +01:00
Zahary Karadjov
af7c3251cd properly remove intLiterals from proc signatures; fixes trettypeinference 2013-12-30 17:07:49 +02:00
Zahary Karadjov
7e24cf26de handle recursive types during the instantiation of meta types; propagate tfHasMeta more carefully 2013-12-30 16:06:32 +02:00
Zahary Karadjov
88873f7965 add incl/excl for sets accepting accepting other sets 2013-12-30 14:25:05 +02:00
Grzegorz Adam Hankiewicz
987ac2439a Merge pull request #776 from gradha/pr_docs
Docstrings
2013-12-30 03:06:22 -08:00
Zahary Karadjov
046d829e5d Introduce a PreMain proc in the C codegen
The rationale here is that it has become too hard to step into a program
when #line directives are enabled. You have to skip over many lines of init
code that doesn't have corresponding lines in the nimrod program.
Now, you can just step-out of PreMain and go straight to the useful code
in NimMain.
2013-12-30 11:02:48 +02:00
Zahary Karadjov
e3f53409f6 proc redefinition search based on the type system instead of on sloppy AST matching
This will work the same for procs/templates/macros/etc, having arbitrary mix of implicit
and explicit generics (as long as the symbols are equivalent for the purposes of overload
resolution, they will be detected as redefinitions)

fixes tgeneric
2013-12-30 10:57:12 +02:00
Zahary Karadjov
fa3bb8d66b restore return type inference 2013-12-30 00:03:57 +02:00
Zahary Karadjov
723efe7cfb fix the filtering of void params in procs' signatures 2013-12-29 19:26:52 +02:00
Zahary Karadjov
afddae5aaf Merge branch 'upstream' into devel
Conflicts:
	compiler/ccgutils.nim
	compiler/msgs.nim
	compiler/sem.nim
	compiler/semexprs.nim
	compiler/seminst.nim
	compiler/semmagic.nim
	compiler/semstmts.nim
	compiler/semtypes.nim
	compiler/semtypinst.nim
	compiler/sigmatch.nim
	compiler/types.nim
	compiler/vmgen.nim
	lib/core/macros.nim
	lib/system.nim
	tests/reject/tenummix.nim
	web/news.txt
2013-12-29 17:21:00 +02:00
Zahary Karadjov
72291875bf integrate the logic of fixupProcType into ReplaceTypeVars 2013-12-29 16:08:33 +02:00