00:46:25 | * | NimBot joined #nim |
00:49:34 | * | Senketsu quit (Quit: Leaving) |
00:55:03 | * | yglukhov joined #nim |
00:57:16 | * | key_ quit (Ping timeout: 244 seconds) |
00:57:33 | * | key_ joined #nim |
00:59:16 | * | NimBot joined #nim |
00:59:20 | * | yglukhov quit (Ping timeout: 244 seconds) |
01:06:07 | * | strcmp1 joined #nim |
01:22:09 | * | CryptoToad quit (Quit: Leaving) |
01:36:20 | * | nevercast joined #nim |
01:40:27 | * | NimBot joined #nim |
01:43:50 | nevercast | NimBot has to be the most flaky bot I've met. tbh |
02:02:38 | * | elbow joined #nim |
02:04:27 | * | elbow quit (Client Quit) |
02:30:33 | Varriount | nevercast: It might just be the quality of the connection. |
02:30:55 | Varriount | nevercast: I mean, I get disconnected quite often, and it's not like my IRC client is the one that crashes. |
02:35:22 | nevercast | Yeah likely. |
02:35:32 | nevercast | Does nim have a "standard" project file format? |
02:36:12 | nevercast | Also - Where are the tools for querying compile errors and scope variables for things like "Intellisense" ? |
02:36:22 | nevercast | Is that nimtools? |
02:37:09 | nevercast | Ah, nimsuggest. |
02:43:06 | Varriount | nevercast: Nimsuggest is for IDE integration. |
02:43:33 | Varriount | I'm still working to integrate it with the Sublime Text plugin, I don't know about the other IDE plugins. |
02:43:35 | nevercast | Yes that's my intention. |
02:45:09 | nevercast | I would be interested in any development with Sublime |
02:47:54 | Varriount | nevercast: Well, the current plugin is pretty good. |
03:26:48 | * | Kingsquee quit (Quit: http://i.imgur.com/EsXzoum.png) |
04:33:07 | * | Jesin quit (Quit: Leaving) |
04:37:12 | * | darkf joined #nim |
05:09:18 | Varriount | Araq: Does c2nim support the token pasting operator? (##)? |
05:18:45 | * | yglukhov joined #nim |
05:23:33 | * | yglukhov quit (Ping timeout: 260 seconds) |
05:23:39 | * | Demon_Fox quit (Ping timeout: 255 seconds) |
05:30:40 | * | xificurC joined #nim |
05:34:53 | * | NimBot joined #nim |
05:47:16 | * | strcmp1 quit (Quit: Leaving) |
05:56:56 | * | jszymanski joined #nim |
05:59:23 | * | NimBot joined #nim |
06:18:42 | * | jszymanski quit (Quit: computer sleeps...) |
06:20:10 | * | xcombelle joined #nim |
06:42:03 | * | Trustable joined #nim |
06:42:38 | * | xcombelle quit (Ping timeout: 260 seconds) |
06:46:57 | * | Gonzih joined #nim |
06:50:57 | * | jszymanski joined #nim |
06:51:03 | * | xcombelle joined #nim |
07:20:19 | * | jszymanski quit (Quit: computer sleeps...) |
07:24:42 | * | low-profile quit (Ping timeout: 255 seconds) |
07:25:27 | * | yglukhov joined #nim |
07:26:39 | * | low-profile joined #nim |
07:28:09 | * | yglukhov quit (Remote host closed the connection) |
07:30:41 | * | yglukhov joined #nim |
07:32:17 | * | yglukhov quit (Remote host closed the connection) |
07:41:23 | * | low-profile quit (*.net *.split) |
07:41:23 | * | def- quit (*.net *.split) |
07:41:23 | * | EastByte_ quit (*.net *.split) |
07:41:23 | * | boopisaway quit (*.net *.split) |
07:41:23 | * | federico3 quit (*.net *.split) |
07:41:23 | * | taotetek quit (*.net *.split) |
07:41:23 | * | pleiosaur quit (*.net *.split) |
07:42:56 | * | low-profile joined #nim |
07:42:56 | * | def- joined #nim |
07:42:56 | * | EastByte_ joined #nim |
07:42:56 | * | boopisaway joined #nim |
07:42:56 | * | federico3 joined #nim |
07:42:56 | * | taotetek joined #nim |
07:42:56 | * | pleiosaur joined #nim |
07:44:24 | * | someplace quit (Ping timeout: 244 seconds) |
07:44:31 | * | low-profile quit (Max SendQ exceeded) |
07:45:17 | * | kilon joined #nim |
07:45:17 | * | kilon quit (Changing host) |
07:45:17 | * | kilon joined #nim |
07:45:19 | * | def- quit (Ping timeout: 265 seconds) |
07:45:49 | * | EastByte_ quit (Ping timeout: 265 seconds) |
07:45:49 | * | federico3 quit (Ping timeout: 265 seconds) |
07:45:50 | * | taotetek quit (Ping timeout: 265 seconds) |
07:46:17 | * | pleiosaur quit (Ping timeout: 265 seconds) |
07:46:48 | * | boopisaway quit (Ping timeout: 256 seconds) |
07:47:36 | * | pleiosaur joined #nim |
07:52:23 | * | def- joined #nim |
07:59:05 | * | taotetek joined #nim |
07:59:12 | * | federico3 joined #nim |
07:59:24 | * | taotetek is now known as Guest40687 |
07:59:47 | * | EastByte_ joined #nim |
08:00:04 | * | boopisaway joined #nim |
08:00:37 | * | low-profile joined #nim |
08:00:48 | * | kilon quit (Remote host closed the connection) |
08:08:39 | * | coffeepot joined #nim |
08:09:00 | * | coffeepot quit (Client Quit) |
08:09:09 | * | coffeepot joined #nim |
08:13:10 | * | lokulin quit (Ping timeout: 260 seconds) |
08:15:54 | * | someplace joined #nim |
08:22:17 | * | xcombelle_ joined #nim |
08:22:27 | * | xcombelle quit (Ping timeout: 252 seconds) |
08:23:02 | * | xcombelle_ is now known as xcombelle |
08:29:09 | * | lokulin joined #nim |
08:33:22 | * | darkf_ joined #nim |
08:34:36 | * | darkf quit (Ping timeout: 246 seconds) |
08:35:07 | * | Matthias247 joined #nim |
08:42:05 | * | xcombelle quit (Ping timeout: 245 seconds) |
08:47:40 | * | yglukhov joined #nim |
08:50:02 | * | Pisuke quit (Max SendQ exceeded) |
08:51:15 | * | Pisuke joined #nim |
08:52:30 | * | yglukhov quit (Ping timeout: 265 seconds) |
08:53:47 | * | yglukhov joined #nim |
08:53:55 | * | yglukhov quit (Remote host closed the connection) |
08:54:28 | * | yglukhov joined #nim |
08:55:19 | * | xcombelle joined #nim |
08:57:41 | * | yglukhov_ joined #nim |
08:58:45 | * | BitPuffin|osx quit (Ping timeout: 240 seconds) |
08:59:40 | * | yglukhov_ quit (Remote host closed the connection) |
09:00:50 | * | yglukhov quit (Ping timeout: 245 seconds) |
09:08:59 | * | EXetoC joined #nim |
09:20:48 | * | xcombelle quit (Ping timeout: 264 seconds) |
09:33:36 | * | xcombelle joined #nim |
09:37:05 | * | NimBot joined #nim |
09:38:31 | * | xcombelle quit (Ping timeout: 256 seconds) |
09:42:18 | * | xcombelle joined #nim |
09:49:42 | * | shodan45 quit (Quit: Konversation terminated!) |
09:53:11 | * | NimBot joined #nim |
10:11:48 | * | \u quit (Ping timeout: 264 seconds) |
10:12:14 | * | ray joined #nim |
10:13:08 | * | yglukhov joined #nim |
10:15:26 | * | yglukhov quit (Remote host closed the connection) |
10:22:17 | * | yglukhov joined #nim |
10:22:23 | * | yglukhov quit (Remote host closed the connection) |
10:22:59 | * | yglukhov joined #nim |
10:24:02 | * | NimBot joined #nim |
10:25:04 | * | yglukhov quit (Remote host closed the connection) |
10:34:49 | * | NimBot joined #nim |
10:55:43 | * | yglukhov joined #nim |
11:03:55 | * | jszymanski joined #nim |
11:30:19 | * | kilon joined #nim |
11:33:58 | Araq | he, actually NimBot is now async, triggered a codegen bug and keeps crashing ... |
11:34:15 | Araq | dom96 is working on a fix though |
11:34:32 | Araq | Varriount: yes ## is supported |
11:35:28 | * | Gonzih quit (Quit: IRC is just multiplayer vim.) |
11:35:43 | * | Gonzih joined #nim |
11:37:36 | * | xcombelle quit (Quit: Leaving) |
11:37:44 | * | xcombelle joined #nim |
11:39:22 | * | Matthias247 quit (Read error: Connection reset by peer) |
11:40:24 | * | nevercast quit (Ping timeout: 246 seconds) |
11:41:37 | * | Matthias247 joined #nim |
11:54:44 | * | zaspard quit (Remote host closed the connection) |
12:01:03 | * | Varriount_ joined #nim |
12:04:11 | * | Varriount quit (Ping timeout: 250 seconds) |
12:13:05 | * | yglukhov quit (Remote host closed the connection) |
12:15:05 | * | kilon quit (Remote host closed the connection) |
12:15:18 | * | kilon joined #nim |
12:15:18 | * | kilon quit (Remote host closed the connection) |
12:15:27 | * | kilon joined #nim |
12:15:50 | * | dalarmmst quit (Ping timeout: 260 seconds) |
12:20:56 | * | kilon quit (Remote host closed the connection) |
12:24:58 | * | yglukhov joined #nim |
12:27:29 | * | kilon joined #nim |
12:29:27 | * | darkf_ is now known as darkf |
12:31:06 | Varriount_ | Araq: How hard would it be to get c2nim to understand typedefs with more than one identifier on the end? |
12:31:25 | Varriount_ | eg: 'typedef int DWORD, *PDWORD' |
12:31:41 | Araq | it already does understand that |
12:31:43 | * | Varriount_ is now known as Varriount |
12:32:06 | Varriount | Araq: Are you sure? It understands it for structures, but not plain types. |
12:32:33 | Araq | possible |
12:32:49 | Varriount | 'typedef CLFS_WRITE_ENTRY *PCLFS_WRITE_ENTRY, **PPCLFS_WRITE_ENTRY;' gives me 'Error: ';" expected' |
12:33:54 | Varriount | Araq: Also, c2nim appears to be deleting all the includes by default. |
12:34:01 | fowl | C declaration syntax is the evilest idea ever |
12:34:04 | Varriount | (from the output files) |
12:34:14 | Varriount | fowl: I didn't come up with it. |
12:34:40 | Araq | there is a --keepIncludes or something |
12:34:55 | fowl | I think thats how you read scandinavian |
12:35:12 | Araq | or maybe #include <foo.h> is removed and #include "foo.h" is kept, check the source |
12:35:24 | fowl | You start in the middle read right then go left then go right, ... |
12:36:38 | Araq | fowl: strictly speaking the 'typedef' doesn't even have to start the declaration, struct foo typedef ... |
12:36:40 | Araq | it's been designed to produce the most WTFs per minute |
12:37:42 | Araq | Varriount: fix c2nim then --debug gives you the stacktrace |
12:37:47 | Varriount | Araq: It's just, almost all the header files in the windows sdk do a 'typedef parent child, *pchild' thing |
12:37:58 | Araq | yes, fix c2nim |
12:39:42 | * | Xaseron joined #nim |
12:40:35 | Xaseron | i followed an old link and wtf :D http://nimrod-code.org/ |
12:42:31 | EXetoC | fowl: it's just a terrible language for libs |
12:42:58 | Araq | hi Xaseron well I also sell repairs for wash machines |
12:43:14 | EXetoC | unless, of course, you only care about C and C++ |
12:44:37 | Araq | (just kidding) |
12:45:31 | Xaseron | Araq: and breast enhancements :D |
12:46:18 | Araq | breasts and washing machines belong together |
12:47:29 | Araq | for ... some reasons ... |
12:48:13 | EXetoC | speaking of which, I've started working on that library now |
12:48:43 | Varriount | Araq: Ever thought of commenting code? c2nim is like an untamed jungle |
12:49:08 | Varriount | I've found 'parseTrailingDefinedTypes', but have only a faint idea of where to insert it. |
12:49:37 | Araq | dunno, I don't comment "obvious" things |
12:50:17 | EXetoC | the purpose being to generate C libs and then expose an API for generating bindings |
12:51:53 | * | arnetheduck joined #nim |
12:51:56 | Varriount | Araq: Yes, but you can apparently understand code that has a complexity on par of that found in Windows headers. |
12:53:32 | EXetoC | Rust allows "C" libs to be generated, but I've never heard of anything about an accompanying API |
12:53:48 | Araq | EXetoC: hey, we can generate C header files too |
12:54:18 | Araq | Varriount: 1. feel free to add docs |
12:54:25 | * | drewsrem joined #nim |
12:54:32 | Araq | 2. you can always ask me about the code |
12:57:42 | EXetoC | yes, so it's just this API that's missing. A C header generator would be a good first step |
12:58:50 | Varriount | Isn't there a switch to generate a header? |
12:59:03 | EXetoC | for testing purposes of course |
12:59:13 | federico3 | a Nim equivalent of "which"? |
13:01:49 | Araq | Varriount: well I write parsers for about 14 years now. sorry I cannot be bothered to document these things anymore ;-) |
13:02:48 | drewsrem | Actually, Nim is the only PL language I know of where you can actually read the compiler codebase |
13:03:36 | Araq | fyi the most painful parser that I ever wrote is the reStructuredText parser, not c2nim |
13:04:03 | Araq | RST is a bitch to parse, no wonder it got killed by markdown |
13:04:15 | drewsrem | It got? |
13:04:48 | EXetoC | you only need a few poor souls to do it, right? :p |
13:04:49 | Araq | it definitely crumbles under the weight of its spec |
13:05:14 | * | yglukhov quit (Remote host closed the connection) |
13:06:34 | drewsrem | It supports a lot of constructs IIRC tho, Markdown is very basic |
13:07:06 | Araq | Markdown uses significant trailing whitespace |
13:07:48 | Araq | for me that is a showstopper, so I won't use it if I can avoid it |
13:07:55 | drewsrem | What do you use? |
13:08:06 | Araq | reStructuredText |
13:08:38 | drewsrem | right |
13:09:03 | drewsrem | asciidoc seems to enjoy little adoption |
13:09:44 | EXetoC | trailing whitespace. ugh |
13:13:00 | * | yglukhov joined #nim |
13:16:14 | federico3 | drewsrem: like Nim, it's a little-known gem |
13:17:18 | drewsrem | federico3, it is? I do prefer my comments to be # and not //, besides that it looks pretty good |
13:18:25 | federico3 | comments are weird, everything else is as powerful as LaTeX and readable like Md |
13:19:02 | reactormonk | Dunno, I'd be fine with markdown in nim *duck* |
13:19:30 | Varriount | Araq: Should I add a parseTrailingTypedef call to the otherTypeDef proc, or to the parseTypeDef proc? |
13:19:32 | EXetoC | quack |
13:19:41 | federico3 | reactormonk: for docstrigs, sure. To write largish bodies of documentation and books - ouch |
13:20:38 | Araq | parseTypeDef |
13:20:39 | reactormonk | federico3, org-mode ;-) |
13:21:40 | * | thekilon joined #nim |
13:21:42 | drewsrem | Araq, can you have a look at this feature I had some time ago real quick and tell me it's not going to happen so I can put it to rest? http://ix.io/jKi - i.e. adding some block-literals that use indentation as an alternative for triple-quoted strings like YAML has |
13:22:47 | Araq | damn, but I like it |
13:23:15 | drewsrem | All the better :) |
13:23:35 | Araq | but yeah, has no chance to make it into v1 |
13:24:05 | Araq | also you need to pick something else colon-bar doesn't cut it |
13:24:22 | drewsrem | Good, I can go back to my programs now :) |
13:24:28 | drewsrem | Was the first thing came to my mind, why not? |
13:24:36 | Araq | also you need a mode that doesn't strip the indentation |
13:25:26 | Araq | it should use ''' (three single quotes) |
13:25:28 | drewsrem | https://en.wikipedia.org/wiki/YAML#Block_literals |
13:25:38 | Araq | and '''! for when the indentation is to be kept |
13:25:48 | drewsrem | sounds good |
13:26:02 | Araq | we don't care about yaml :P yaml is a pita to parse |
13:26:22 | Araq | another thing that slowly crumbles under the weight of its spec |
13:26:28 | drewsrem | no sure, just for reference, I thought of :| because they use | |
13:26:33 | * | thekilon quit (Ping timeout: 265 seconds) |
13:26:43 | Varriount | Araq: Well, it doesn't help that the YAML reference implementation is written in Haskell |
13:27:13 | Araq | well the spec is reasonably clear and there are also C implementations |
13:27:18 | Varriount | Not that Haskell is a bad language, but it makes it difficult to port to other languages. |
13:27:25 | Araq | but it's just so big for what it does |
13:27:50 | drewsrem | People really seem to enjoy using it tho |
13:27:55 | Araq | and at the end is still worse than ini files for configuration |
13:28:55 | drewsrem | Araq, should I open a proposal-thingy on the issue tracker for this thing or will you remember it/do it yourself? |
13:29:10 | Araq | no, do it, I want this RFC |
13:29:26 | Araq | indentation based string literals just make sense for Nim. |
13:29:43 | drewsrem | great |
13:33:07 | Varriount | Expect backlash. It's a Different Way (TM) of doing things |
13:40:14 | reactormonk | Varriount, ™ <- to store and reuse |
13:40:28 | Varriount | reactormonk: I was typing with one hand. |
13:41:01 | reactormonk | Araq, I like the idea of identation-based strings. Any ambiguities? |
13:41:01 | Varriount | Although, when you think of it, the argument for indentation based strings is fairly similar to the one for indentation based control flow/blocks. |
13:41:14 | * | xcombelle quit (Ping timeout: 260 seconds) |
13:41:30 | * | Varriount thinks of indentation based lisp |
13:43:11 | drewsrem | I wonder what fowl thinks of it |
13:43:46 | * | yglukhov quit (Remote host closed the connection) |
13:44:00 | drewsrem | Varriount, sure, that's why you do RFCs right? - I'm biased to liking this, if someone is biased to not liking this, he has motivation to articulate concerns, which may be valid. |
13:45:16 | coffeepot | how would further indentations work in indentation based strings? https://gist.github.com/coffeepots/0caaa348c42c80d3e30f |
13:46:23 | drewsrem | coffeepot, it preserves indentation, try https://en.wikipedia.org/wiki/YAML#Block_literals which is what I had in mind |
13:46:42 | EXetoC | do experienced programmers also tend to dislike whitespace-sensitivity or is it mostly inexperienced ones? |
13:46:49 | coffeepot | awesome :) |
13:48:28 | drewsrem | EXetoC, how could one know? - You'd have to define "experienced programmer" and then do a survey? |
13:48:43 | EXetoC | details :p |
13:49:12 | drewsrem | EXetoC, http://gradha.github.io/articles/2015/04/whitespace-goto-fail.html |
13:49:39 | EXetoC | anecdotal evidence ftw |
13:50:07 | drewsrem | Question really doesn't allow for more :p |
13:50:55 | EXetoC | ok so it starts off with indentation in a whitespace-insensitive language |
13:51:15 | coffeepot | i tend to mind-parse code as if it was properly formatted, so reading inconsistent spacing (to the control flow) in non-whitespace languages gives me hives anyway. |
13:51:26 | EXetoC | but omitting {} is pretty terrible regardless |
13:52:53 | EXetoC | most code is indented after all |
13:53:12 | * | BitPuffin joined #nim |
13:53:57 | drewsrem | EXetoC, but that's basically his point, right, if you don't omit them then you acknowledge that people already put meaning to indentation |
13:54:20 | EXetoC | yep |
13:54:46 | Araq | it's even worse |
13:55:09 | Araq | it's redundancy gone wrong |
13:55:23 | Araq | if indentation and braces disagree whom do you trust? |
13:58:06 | drewsrem | I actually don't know a good argument why not go with indentation aside from "copy pasting it into a textbox can screw up the indentation" |
13:58:23 | drewsrem | Not that that's a good argument. |
13:58:56 | EXetoC | which text boxes strip whitespace? |
13:58:58 | * | yglukhov joined #nim |
13:59:40 | coffeepot | afaict the only reasoning against whitespace languages is copying code from webpages (or as you say drewsrem textboxes), but I've never had a problem with it either |
13:59:42 | drewsrem | EXetoC, well, idk, but I guess PHP parsers and things might be liberal with whitespaces |
14:00:50 | drewsrem | coffeepot, I did once or twice, but it's a bit of a stupid claim, I mean you're ignoring any kind of benefits you get just because you might run into a scenario where your texts whitespace gets violated, sure if that's all that counts, then go with it |
14:00:57 | EXetoC | coffeepot: that's annoying, and it seems arbitrary |
14:01:36 | drewsrem | maybe if you mix tabs and spaces, the language allows that and then when you post it the tabs get converted etc. |
14:01:40 | EXetoC | if text needs to be modified, use a text editor |
14:02:13 | coffeepot | yep, I think that's the only way it could be an issue, if you mix tabs and spaces. Aporia colours tabs in red though so struggling to find the downside! |
14:02:28 | drewsrem | IIRC nim doesn't allow tabs at all |
14:05:24 | EXetoC | elastic tabstops seem nice, but at least you can render things according to personal preference |
14:06:03 | drewsrem | Araq, btw. what keyboard layout do you use? - german? |
14:13:00 | * | Demos joined #nim |
14:22:21 | * | thekilon joined #nim |
14:26:50 | * | thekilon quit (Ping timeout: 246 seconds) |
14:27:54 | EXetoC | have there been any AST changes recently? |
14:43:47 | * | yglukhov quit (Remote host closed the connection) |
14:45:48 | * | FedeOmoto joined #nim |
14:52:15 | * | BitPuffin quit (Disconnected by services) |
14:52:15 | * | itPuffinB joined #nim |
14:53:18 | * | itPuffinB is now known as BitPuffin |
14:53:37 | * | thekilon joined #nim |
14:54:22 | * | Gonzih quit (Ping timeout: 250 seconds) |
14:55:30 | * | Kingsquee joined #nim |
15:02:50 | * | jaco60 joined #nim |
15:04:20 | * | yglukhov joined #nim |
15:08:39 | * | yglukhov quit (Ping timeout: 255 seconds) |
15:10:36 | * | yglukhov joined #nim |
15:10:56 | * | xcombelle joined #nim |
15:12:01 | * | xcombelle quit (Remote host closed the connection) |
15:17:55 | * | thekilon quit (Remote host closed the connection) |
15:22:36 | * | itPuffinB joined #nim |
15:22:36 | * | BitPuffin quit (Disconnected by services) |
15:23:48 | * | itPuffinB is now known as BitPuffin |
15:26:56 | * | NimBot joined #nim |
15:27:22 | * | jszymanski quit (Quit: computer sleeps...) |
15:29:18 | * | Gonzih joined #nim |
15:39:28 | * | themagician quit () |
15:41:05 | * | NimBot joined #nim |
15:46:27 | * | Matthias247 quit (Read error: Connection reset by peer) |
15:48:00 | * | key_ quit (Read error: Connection reset by peer) |
15:49:40 | * | dalarmmst joined #nim |
15:50:41 | * | brson joined #nim |
15:55:29 | * | pregressive joined #nim |
15:55:57 | * | itPuffinB joined #nim |
15:55:57 | * | BitPuffin quit (Disconnected by services) |
15:56:14 | * | Trustable quit (Remote host closed the connection) |
15:56:59 | * | itPuffinB is now known as BitPuffin |
15:58:05 | * | Trustable joined #nim |
16:01:19 | * | Gonzih quit (Ping timeout: 246 seconds) |
16:08:25 | * | NimBot joined #nim |
16:09:19 | * | bendiken joined #nim |
16:10:36 | * | coffeepot quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) |
16:10:49 | * | Demos quit (Remote host closed the connection) |
16:13:50 | * | Sembei joined #nim |
16:13:54 | * | Pisuke quit (Ping timeout: 255 seconds) |
16:18:03 | * | key_ joined #nim |
16:18:22 | * | themagician joined #nim |
16:18:39 | * | thekilon joined #nim |
16:18:46 | * | thekilon quit (Changing host) |
16:18:46 | * | thekilon joined #nim |
16:18:59 | * | yglukhov quit (Remote host closed the connection) |
16:21:05 | * | yglukhov joined #nim |
16:23:33 | * | NimBot joined #nim |
16:23:41 | * | thekilon quit (Ping timeout: 256 seconds) |
16:25:23 | EXetoC | threads with new posts don't appear at the top? |
16:29:25 | EXetoC | or it's just that my post never appeared |
16:34:28 | * | yglukhov_ joined #nim |
16:36:00 | * | Demos joined #nim |
16:37:18 | * | yglukhov quit (Ping timeout: 255 seconds) |
16:38:38 | * | yglukhov_ quit (Ping timeout: 244 seconds) |
16:48:14 | * | Sornaensis quit (Excess Flood) |
16:49:15 | * | Sornaensis joined #nim |
16:51:08 | * | shalabh joined #nim |
16:53:37 | * | darkf quit (Quit: Leaving) |
16:54:16 | * | jaco60 quit (Read error: Connection timed out) |
16:54:51 | * | jaco60 joined #nim |
16:56:42 | * | unclechu joined #nim |
16:58:45 | * | BitPuffin quit (Ping timeout: 245 seconds) |
17:01:01 | * | Demos_ joined #nim |
17:01:20 | * | Demos_ quit (Read error: Connection reset by peer) |
17:01:33 | * | ray quit (Changing host) |
17:01:33 | * | ray joined #nim |
17:01:37 | * | ray is now known as \u |
17:01:58 | * | Demos_ joined #nim |
17:04:12 | * | Demos quit (Ping timeout: 246 seconds) |
17:10:23 | * | shalabh quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) |
17:15:39 | * | yglukhov joined #nim |
17:16:14 | * | yglukhov quit (Remote host closed the connection) |
17:16:32 | * | yglukhov joined #nim |
17:17:58 | * | Xe quit (Ping timeout: 240 seconds) |
17:19:21 | * | thekilon joined #nim |
17:19:44 | * | Arrrr joined #nim |
17:21:28 | * | strcmp1 joined #nim |
17:24:06 | * | thekilon quit (Ping timeout: 244 seconds) |
17:24:19 | * | Demos_ quit (Remote host closed the connection) |
17:30:04 | * | thekilon joined #nim |
17:30:04 | * | thekilon quit (Changing host) |
17:30:04 | * | thekilon joined #nim |
17:30:21 | * | bendiken quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
17:31:26 | * | bendiken joined #nim |
17:32:09 | * | Demos joined #nim |
17:32:36 | * | NimBot joined #nim |
17:35:23 | * | thekilon quit (Ping timeout: 252 seconds) |
17:42:45 | * | jszymanski joined #nim |
17:43:03 | * | Xe joined #nim |
17:45:08 | * | Jesin joined #nim |
17:57:45 | * | johnsoft quit (Ping timeout: 246 seconds) |
17:57:47 | * | X67r joined #nim |
18:07:11 | * | Demos_ joined #nim |
18:10:40 | * | Demos quit (Ping timeout: 250 seconds) |
18:28:24 | * | elbow_jason joined #nim |
18:30:03 | Araq | drewsrem: yes |
18:30:09 | Araq | EXetoC: no ast changes that I know of |
18:30:45 | Araq | so ... I implemented newIterator() and it doesn't make sense |
18:31:29 | * | thekilon joined #nim |
18:31:29 | * | thekilon quit (Changing host) |
18:31:29 | * | thekilon joined #nim |
18:32:19 | * | dom96_ joined #nim |
18:32:30 | * | Demos_ quit (Remote host closed the connection) |
18:32:43 | Araq | proc factory(a, b: int): iterator (): int = |
18:32:45 | Araq | iterator foo(): int {.closure.} =... |
18:32:46 | reactormonk | Usually code doesn't make sense 6 months later |
18:32:46 | Araq | return foo |
18:32:56 | Araq | so that requires 'newIterator(foo)' ? |
18:33:04 | Araq | and this doesn't: |
18:33:15 | Araq | proc factory2(a, b: int): iterator (): int = |
18:33:16 | Araq | return iterator (): int = ... |
18:34:03 | * | Demos joined #nim |
18:36:08 | Araq | so ... I dunno yet |
18:36:30 | * | thekilon quit (Ping timeout: 272 seconds) |
18:52:09 | * | Demon_Fox joined #nim |
18:54:05 | EXetoC | my macro generates "illformed AST" since the compiler upgrade (was a few weeks old before that). I'll look into it |
18:56:53 | * | shodan45 joined #nim |
18:58:50 | * | Arrrr quit (Read error: Connection reset by peer) |
18:59:50 | Araq | ah yeah, sweet regressions |
19:00:02 | Araq | but it's likely caused by something entirely different |
19:01:54 | * | Demos_ joined #nim |
19:02:21 | * | xcombelle joined #nim |
19:04:14 | EXetoC | ok |
19:05:22 | * | Demos quit (Ping timeout: 260 seconds) |
19:06:41 | EXetoC | just.. don't introduce regressions :p |
19:08:16 | * | elbow_jason quit (Ping timeout: 265 seconds) |
19:08:24 | * | dom96_ quit (Ping timeout: 246 seconds) |
19:11:55 | Araq | EXetoC: gimme a test case |
19:19:21 | EXetoC | I was going to |
19:19:46 | * | Demos_ quit (Remote host closed the connection) |
19:20:12 | EXetoC | I'll check the macros module history |
19:20:41 | * | Matthias247 joined #nim |
19:22:53 | * | Demos joined #nim |
19:28:30 | EXetoC | Araq: https://gist.github.com/exetoc/389da3a0f303e0b65443 |
19:29:00 | EXetoC | either an empty node wasn't added to FormalParams in the call to newNimNode before or it simply accepted it |
19:29:26 | * | NimBot joined #nim |
19:30:41 | EXetoC | so I just need to remove the statement that append Empty |
19:30:55 | EXetoC | appends* |
19:32:52 | * | Demos quit (Ping timeout: 272 seconds) |
19:32:57 | EXetoC | there we go |
19:35:08 | * | pregressive quit (Remote host closed the connection) |
19:38:14 | EXetoC | What I meant to say that was that it might have simply accepted two or more successive Empty nodes at the beginning FormalParam's child list |
19:38:54 | EXetoC | either that or the first thing I said |
19:47:10 | * | Demos_ quit (Remote host closed the connection) |
19:47:35 | * | pregressive joined #nim |
19:49:34 | * | Demos joined #nim |
19:53:18 | * | yglukhov quit (Remote host closed the connection) |
19:57:00 | * | yglukhov joined #nim |
19:58:59 | * | NimBot joined #nim |
20:13:15 | * | Gonzih joined #nim |
20:19:49 | * | kilon quit () |
20:28:30 | * | elbow_jason joined #nim |
20:35:59 | yglukhov | Does anyone know rust here? %) |
20:36:23 | EXetoC | probably. why? |
20:36:36 | yglukhov | I'm writing an article on nim and need some clarifications. |
20:37:05 | yglukhov | Does rust have compile-time function execution as powerfull as nim does? |
20:37:42 | Araq | no, but Rust has a plugin system to cover pretty much everything that Nim covers afaict |
20:39:18 | yglukhov | But those plugins have to be explicitly managed, right? I mean, a third-party library that requires a specific plugin, requires it's user to take actions accordingly. Configure the build system, etc. right? |
20:39:49 | Araq | I dunno but the plugin system is not in Rust v 1.0 iirc |
20:40:01 | Araq | so it's still unstable and in flux |
20:40:08 | yglukhov | ah, ok. |
20:40:31 | yglukhov | what about the macro system. can a macro call a function that is also available in runtime? |
20:41:24 | EXetoC | explicitly managed? how is it different for nim? |
20:42:14 | Araq | the macro system used to be stupid but I don't know the current state of affairs |
20:43:08 | Araq | since the Rust guys know Nim pretty well you can sure the differences are philosophical in nature |
20:43:14 | Araq | *can be sure |
20:43:21 | * | jszymanski quit (Quit: computer sleeps...) |
20:44:05 | * | Trustable quit (Remote host closed the connection) |
20:46:00 | yglukhov | EXetoC: E.g. in Nim I can deploy a library that provides nim<->java bridge, so that you may simply write "jnimport java.io.PrintStream". That lib will find the corresponding java class in installed java environment and insert the glueing code in compile time. And it's users don't need anything else, but just import it in their code. Is rust that crazy as well? |
20:46:32 | Araq | I don't think Rust supports this as easily as Nim does it |
20:48:32 | Araq | but the major difference is that a plugin system cannot patch over an otherwise extremely picky language |
20:49:00 | yglukhov | errr.. could you rephrase that please? =) |
20:49:39 | Araq | isn't that your job? |
20:50:07 | yglukhov | no, i'm a developer ;) |
20:50:22 | Araq | " I'm writing an article on nim and need some clarifications." |
20:50:26 | * | gnzh joined #nim |
20:52:08 | * | Demos_ joined #nim |
20:52:36 | * | Gonzih quit (Ping timeout: 264 seconds) |
20:53:35 | yglukhov | well, actually i was not going to compare nim to rust. i just want to be sure, that i write smth like "nim is ultimate in this and that and noone else is", so that noone can argue =) |
20:53:45 | * | gnzh quit (Client Quit) |
20:55:00 | Araq | "noone else can do it" is always a shaky ground |
20:55:17 | Araq | I can say these things cause I know everything |
20:55:35 | Araq | but in general you need to be very careful with these kind of statements |
20:55:53 | * | Demos quit (Ping timeout: 250 seconds) |
20:56:22 | yglukhov | ok, i'm not going to say that explicitly, but you get the point |
20:56:41 | * | Demos_ quit (Ping timeout: 252 seconds) |
20:57:48 | gokr | I presume a lot of the magic (as always) is in the combination of characteristics. |
20:59:04 | * | xcombelle quit (Remote host closed the connection) |
20:59:18 | * | elbow_jason left #nim ("Leaving") |
20:59:19 | gokr | For example, meta programming in Nim is not impressive compared to a full reflective language like Smalltalk BUT... Smalltalk is typically not statically typed, not compiled to small binaries etc. So in that niche of languages, its probably fairly unique. |
21:10:56 | dom96 | yglukhov: might get better answers in #rust (On Mozilla's IRC network) :) |
21:11:22 | * | NimBot joined #nim |
21:12:43 | EXetoC | just don't upset you-know-who |
21:22:01 | dom96 | The Doctor? |
21:24:04 | * | CryptoToad joined #nim |
21:25:11 | * | ingsoc joined #nim |
21:28:45 | * | strcmp1 quit (Quit: Leaving) |
21:29:56 | * | jaco60 quit (Remote host closed the connection) |
21:31:16 | * | jaco60 joined #nim |
21:31:34 | NimBot | nim-lang/Nim devel a291f2c Zach Aysan [+0 ±1 -0]: Create Ruby-like chomp proc to allow for easy string ending removal |
21:31:34 | NimBot | nim-lang/Nim devel d288624 Zach Aysan [+0 ±1 -0]: Add tests for chomp |
21:31:34 | NimBot | nim-lang/Nim devel 94149f7 Zach Aysan [+0 ±1 -0]: Update tests to proposed changes |
21:31:34 | NimBot | nim-lang/Nim devel 99b29b3 Zach Aysan [+0 ±1 -0]: Switch to removeSuffix name and modify the string in place |
21:31:34 | NimBot | 3 more commits. |
21:35:42 | * | pregressive quit (Remote host closed the connection) |
21:37:28 | * | pregressive joined #nim |
21:37:31 | dom96 | Araq: We got access to BountySource's Salt |
21:37:36 | dom96 | Now it's just a case of setting it up |
21:38:38 | Araq | I don't even know what this means |
21:38:40 | dom96 | Araq: Take a look at Crystal's (https://salt.bountysource.com/teams/crystal-lang) for inspiration, and let me know what you think the description + goals + rewards should be. |
21:38:51 | dom96 | ^^ that should give you a good idea |
21:39:02 | dom96 | we don't have to set it up now |
21:39:06 | dom96 | in fact, i'm too tired to |
21:39:17 | Araq | can't we copy Rust instead of Crystal? |
21:41:52 | * | ingsoc quit (Quit: Leaving.) |
21:42:45 | Araq | things used to be so easy. the standard answer was "copy Rust's tutorial/docs/website/stdlib and Go's gofmt tool" |
21:43:01 | dom96 | Rust doesn't do crowdfunding |
21:43:21 | Araq | now it's "copy Rust's tutorial/docs/website/stdlib and Go's gofmt tool and Cystal's crowdfunding" |
21:43:50 | dom96 | no, it's not "copy" it's "get inspired" |
21:43:58 | dom96 | If you don't want to do it then that's fine. |
21:44:08 | Araq | nah, I'm just messing with you |
21:44:55 | dom96 | even getting money to put bounties on issues is good |
21:45:06 | dom96 | so let's do it |
21:52:00 | * | cyraxjoe quit (Ping timeout: 264 seconds) |
21:56:20 | * | Jehan_ joined #nim |
21:59:45 | * | X67r quit (Quit: leaving) |
22:09:36 | * | askatasuna joined #nim |
22:22:12 | * | NimBot joined #nim |
22:26:20 | * | shodan45 quit (Quit: Konversation terminated!) |
22:36:00 | dom96 | Also, I set this up: https://gratipay.com/nim/ |
23:05:35 | * | CryptoToad quit (Ping timeout: 265 seconds) |
23:06:28 | * | cyraxjoe_ joined #nim |
23:06:52 | * | CryptoToad joined #nim |
23:30:25 | * | cyraxjoe_ is now known as cyraxjoe |
23:36:04 | * | NimBot joined #nim |
23:42:39 | * | unclechu quit (Quit: Leaving.) |
23:43:21 | * | Matthias247 quit (Read error: Connection reset by peer) |
23:51:28 | NimBot | nim-lang/Nim devel 02f9748 Zahary Karadjov [+1 ±5 -0]: fix #1858 again; restores the support for static macro params |
23:51:28 | NimBot | nim-lang/Nim devel fe124ce Zahary Karadjov [+0 ±3 -0]: Disable the new generic params handling for immediate template and macros... 12 more lines |
23:51:28 | NimBot | nim-lang/Nim devel b3abcaf Andreas Rumpf [+1 ±5 -0]: Merge pull request #3177 from zah/generic-types-in-macros... 2 more lines |
23:52:20 | NimBot | nim-lang/Nim devel c42b05a Yuriy Glukhov [+0 ±5 -0]: Fixed --debugger:on option. Removed c_line from termios. |
23:52:20 | NimBot | nim-lang/Nim devel 40f7646 Andreas Rumpf [+0 ±5 -0]: Merge pull request #3204 from yglukhov/debugger-on-fix... 2 more lines |
23:58:19 | * | jaco60 quit (Ping timeout: 244 seconds) |