Commit graph

134 commits

Author SHA1 Message Date
Joey
e39bada92d Made generated code more concise in oop_macro.nim 2015-01-29 20:03:20 +13:00
Joey
4d3905dd23 Updated oop_macro.nim with some improvements.
Added out of order method execution inside the class.
Added super-like functionality to call parent methods from child methods.
2015-01-29 16:38:05 +13: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
Flaviu Tamas
0e936f2809 Update toc.md 2014-07-27 10:26:31 -04:00
Dominik Picheta
edafd59e99 Fixed YAML parsing error. 2014-07-27 13:54:10 +01:00
Dominik Picheta
442d904b09 Updated TOC. Fixed build hopefully. 2014-07-27 13:52:20 +01:00
Dominik Picheta
d56dc111f3 Added OpenGL example. 2014-07-27 13:46:54 +01:00
Dominik Picheta
7046adae06 s/newCountTable/initCountTable/ 2014-07-19 11:27:00 +01:00
flaviut
260465f2ff finish sentance 2014-07-18 19:02:32 -04:00
flaviut
56347e2c8c Fix output 2014-07-18 18:58:13 -04:00
Flaviu Tamas
842e40042c Update for_iterators.md, fix 14 2014-07-18 18:58:02 -04:00
flaviut
a868603482 fix bug and explain closure iterators better 2014-07-18 18:53:03 -04:00
flaviut
728f51a2ee Merge branch 'master' of https://github.com/flaviut/nimrod-by-example 2014-07-18 16:15:25 -04:00
flaviut
a5fdbc898e Misc fixes 2014-07-18 16:15:17 -04:00
Antonio Macías
8a5e62db02 Update method name in call 2014-07-18 20:24:47 +01:00
Antonio Macías
0501f80fea Small fix, no need for I since b is int 2014-07-18 17:50:27 +01:00
Flaviu Tamas
21df1ad8c5 Merge pull request #10 from amacias/small_fix3
Need to call iterator in for loop
2014-07-18 12:16:35 -04:00
Flaviu Tamas
fe3a1a1727 Merge pull request #8 from amacias/small_fix2
Bugfix, "..-" is a valid identifier
2014-07-18 12:16:29 -04:00
Flaviu Tamas
4f6be1e59e Merge pull request #7 from amacias/small_fix
Fix variable name and linenumber in output
2014-07-18 12:16:23 -04:00
Flaviu Tamas
cba87d5469 Fix #11 2014-07-18 12:11:15 -04:00
Antonio Macías
0e7c7eeda4 Need to call iterator in for loop 2014-07-18 12:07:18 +01:00
Antonio Macías
4e1605ce54 Bugfix, "..-" is a valid identifier
We need a space there :S
2014-07-18 11:43:05 +01:00
Antonio Macías
ffb2a9c445 Fix variable name and linenumber in output 2014-07-18 09:47:02 +01:00
Flaviu Tamas
ae91f91552 Update oop.md 2014-07-17 17:41:37 -04:00
flaviut
4860f84566 Merge branch 'master' of https://github.com/flaviut/nimrod-by-example 2014-07-17 16:56:45 -04:00
flaviut
c550580986 Hide broken code 2014-07-17 16:56:34 -04:00
flaviut
c810683410 Fix typo 2014-07-17 16:48:24 -04:00
Rory O’Kane
d8ace20193 Link to Nimrod language on home page 2014-07-17 15:40:53 -04:00
flaviut
73d6c89676 Mention iterators 2014-07-17 13:54:41 -04:00
flaviut
4abd738f6b Remove result variable 2014-07-17 13:31:19 -04:00
flaviut
ffafafa239 Use count tables for centerpiece example 2014-07-17 13:29:09 -04:00
flaviut
d812b28505 Fix non-compiling code 2014-07-17 12:24:22 -04:00
flaviut
da3708bf4e Even better randomness 2014-07-17 12:03:00 -04:00
flaviut
54995b9ee9 More front page words 2014-07-17 12:02:41 -04:00
flaviut
e8d0032e20 Oop, 404 2014-07-17 11:50:22 -04:00
flaviut
54d85c8607 Better randomness 2014-07-17 11:46:49 -04:00
flaviut
04e768365d Rephrase sentence 2014-07-16 20:27:37 -04:00