Commit graph

263 commits

Author SHA1 Message Date
Joey Payne
895c0e34a1 Fix oop macro to work with latest Nim 2017-07-27 08:27:09 -06:00
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
Flaviu Tamas
0d0aaa7e29 Update build badge 2016-11-07 15:50:30 -05:00
Flaviu Tamas
89c4bb2625 Fix deploy 2016-11-07 15:45:37 -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
Flaviu Tamas
62aa71babf Fix deploy 2016-11-02 17:57:31 -04: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
106efcb56b Confirm code is correct 2016-04-07 16:27:54 -04:00
Flaviu Tamas
b4c5e06295 Fix bad code 2016-04-07 16:26:47 -04:00
Dominik Picheta
382641aed8 Merge pull request #38 from Gurpartap/patch-1
minor typo
2015-10-08 22:04:05 +01:00
Gurpartap Singh
a133539b15 minor typo 2015-10-08 23:16:52 +05:30
Dominik Picheta
aa25b732f5 Merge pull request #37 from tmm1/patch-1
Fix minor typo
2015-09-21 09:27:37 +01:00
Aman Gupta
618906f3f2 fix typo 2015-09-20 22:53:22 -07:00
Flaviu Tamas
f0587c9a8f Merge pull request #35 from Peaker/patch-1
Update getting_started.md
2015-06-01 17:53:34 -04: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
a440c07e35 Inline CSS
this gets google to stfu about performance issues
2015-05-31 18:20:55 -04:00
Flaviu Tamas
8337b4b817 Optimize load time 2015-05-31 18:07:37 -04:00
Flaviu Tamas
81856ba7d9 Use cloudflare for MathJax
Makes load times faster by not requiring a connection be established with
another server
2015-05-31 16:35:40 -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
7fa4dd3ed5 Update valid validcodehashes 2015-05-26 16:02:25 -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
Flaviu Tamas
4e36057f75 Merge pull request #33 from jrenner/patch-1
fix typo
2015-05-23 10:12:16 -04:00
Jon Renner
b71202faf2 fix typo 2015-05-22 23:25:05 -05:00
Flaviu Tamas
62b6e46702 Disable hyphenation
`pre code span` is hyphenated, even though it is below a `pre` element. This
might be a bug in Hyphenate.js
2015-04-27 18:17:50 -04: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
cdb74e8e4f Fixed mixed content 2015-04-27 16:11:39 -04:00
Flaviu Tamas
e253f79698 Make statement clearer 2015-04-27 16:00:29 -04:00
Flaviu Tamas
4fe1376fce Remove personal configuration 2015-04-27 15:54:14 -04:00
Flaviu Tamas
651fb40bb6 Merge pull request #30 from pyloor/typo-fix-1
typo fix in oop.md
2015-03-14 22:59:53 -04:00
pyloor
07cc8f6600 Update oop.md 2015-03-15 02:35:51 +01:00
Flaviu Tamas
a7b8116357 Rename nimrod-by-example.sublime-project to nim-by-example.sublime-project 2015-02-08 16:21:41 -05: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