Commit graph

168 commits

Author SHA1 Message Date
konqoro
0bd0bd3877 Fix handling of operators (#49)
Currently it fails with error message:
```
Do not know how to get basename of (AccQuoted
  Ident !"$")
`$`
```
2016-12-16 12:44:59 -05:00
konqoro
a04d029226 Add the return type of constructor (#48) 2016-11-23 11:41:14 -05:00
konqoro
587098c158 Fix exporting classes
This commit removes checking for missing base object in favour of being able to export a class.
2016-11-18 18:39:31 -05:00
Flaviu Tamas
6f16960ec2 Fix #39 (#40)
Add wording clarifying how sequences work. Thanks to cheatfate from #nim for the feedback and the "argument by value", "argument by reference" wording.
2016-11-13 12:03:37 -05:00
Flaviu Tamas
e58dee0113 Clarify generics example
Resolve #36. Thanks @zachaysan for bringing it to my attention.
2016-11-13 11:01:13 -05:00
konqoro
775e950be5 Fix defining a constructor proc inside class (#45) 2016-11-13 10:48:54 -05:00
konqoro
0cd37a40ef Port the class macro from deprecated: stmt, expr (#42)
* Port the class macro from deprecated: stmt, expr

* Made changes

* Address comments

* Update oop_macro.md
2016-11-07 11:18:23 -05:00
Fabio Riga
a6cec6fe80 Update import in if_else_while.md example
This example doesn't compile with nim-0.15. Importing *random* instead of *math* made the trick for me.
2016-11-01 14:19:01 -04:00
Flaviu Tamas
b4c5e06295 Fix bad code 2016-04-07 16:26:47 -04:00
Gurpartap Singh
a133539b15 minor typo 2015-10-08 23:16:52 +05:30
Aman Gupta
618906f3f2 fix typo 2015-09-20 22:53:22 -07:00
Eyal Lotem
b541d04623 Update getting_started.md
Update stale link git://github.com/nim-code/csources to git://github.com/nim-lang/csources
2015-06-01 19:32:22 +03:00
Flaviu Tamas
2a67799c8a Implement dark mode 2015-05-31 19:20:07 -04:00
Flaviu Tamas
54b6e49fdc Simplify css 2015-05-31 18:27:45 -04:00
Flaviu Tamas
8337b4b817 Optimize load time 2015-05-31 18:07:37 -04:00
Flaviu Tamas
32ff8d601f Add next-prev buttons
Fixes #22
2015-05-31 16:09:37 -04:00
Flaviu Tamas
0c7010e381 Make site more usable on desktop 2015-05-27 18:46:34 -04:00
Flaviu Tamas
edfe80ca13 Nimrod -> Nim pt. 2 2015-05-26 16:01:35 -04:00
Flaviu Tamas
989058e4d7 Add subtype test 2015-05-26 16:00:15 -04:00
Flaviu Tamas
c6417fb0d3 Nimrod -> Nim 2015-05-26 15:04:18 -04:00
Flaviu Tamas
3b3ab43856 Change footer 2015-05-26 14:43:35 -04:00
Flaviu Tamas
112eef2a3f Fix footer position 2015-05-26 14:43:04 -04:00
Flaviu Tamas
a57027acdd Lots of big formatting changes 2015-05-26 14:37:30 -04:00
Flaviu Tamas
5986e1f090 Delete opengl assets 2015-05-25 19:44:01 -04:00
Jon Renner
b71202faf2 fix typo 2015-05-22 23:25:05 -05:00
Flaviu Tamas
063a45c1da Fix code shadows
Shadows were getting clipped, fix it.
2015-04-27 18:00:25 -04:00
Flaviu Tamas
0fd94db2e6 Expand on strings
See #21
2015-04-27 17:52:54 -04:00
Flaviu Tamas
9c62e0e844 Delete dead page 2015-04-27 17:44:02 -04:00
Flaviu Tamas
440cba53d3 Add hyphenation 2015-04-27 17:15:48 -04:00
Flaviu Tamas
dfd0f80a19 Handle compiler failure on windows
Fixes #32
2015-04-27 16:14:16 -04:00
Flaviu Tamas
e253f79698 Make statement clearer 2015-04-27 16:00:29 -04:00
pyloor
07cc8f6600 Update oop.md 2015-03-15 02:35:51 +01:00
Flaviu Tamas
4ed8b34d0f Fix #20
See #20 for context:

> allows the procedure to be stored in a variable and called correctly (even with default parameters).
> As said by Araq on IRC:
>> 'procvar' doesn't do much [...] it's just another check for semantic checking. codegen is not affected.
2015-02-01 20:14:08 -05:00
Flaviu Tamas
9fcb01c621 Merge pull request #28 from elpres/patch-1
Added missing word
2015-02-01 20:10:26 -05:00
Flaviu Tamas
375db8c398 Make base types object of RootObj
Thanks to @jyapayne for noticing this in #29!
2015-02-01 20:09:55 -05:00
elpres
d073c81deb Added missing word 2015-01-28 11:19:33 +01:00
Flaviu Tamas
fbb973b80a Fix out of date code 2015-01-22 16:20:24 -05:00
Daniel Kullmann
91d57e4e77 Mention other possibilities to introduce blocks
The original text only mentions the block statement and parentheses. But many other statements can use blocks, e.g. if, for, while.
2015-01-11 00:34:32 +01:00
Flaviu Tamas
fcec1ae159 Update block.md 2015-01-02 16:50:48 -05:00
Ky-Anh Huynh
953e0ba715 arrays: fix typo error in #zip proc 2014-12-26 18:38:54 +07:00
Flaviu Tamas
17a406edc7 Fix #18 2014-12-25 16:45:56 -05:00
Flaviu Tamas
73003c1725 Update index.md 2014-12-12 17:46:20 -05:00
Flaviu Tamas
c81dce1528 Fix some links 2014-12-11 17:45:30 -05:00
Flaviu Tamas
2bd2af6e1c Rename to Nim 2014-12-11 17:04:49 -05:00
Flaviu Tamas
cfdc471535 Update seqs.md 2014-11-30 17:04:03 -05:00
Flaviu Tamas
19183151c6 Update seqs.md 2014-11-30 16:50:31 -05:00
Flaviu Tamas
cbdf9ed698 "Invalide"
fix typo
2014-11-30 16:26:07 -05:00
Simon Krauter
5194e63a44 Added missing font color definition 2014-09-24 00:30:02 +02:00
Jason J Ayala P
fb50ef3953 Move "object oriented programming" after Object Types, before OOP Macro
I'm assuming a simple change to the toc.md is all that is needed. I'm not familiar with nanoc.
2014-08-27 17:40:37 -05:00
Flaviu Tamas
31036c02c6 Update toc.md 2014-07-27 10:30:26 -04:00