00:08:12 | * | Matthias247 quit (Read error: Connection reset by peer) |
00:10:42 | * | Trustable quit (Quit: Leaving) |
00:23:27 | * | Jesin quit (Ping timeout: 264 seconds) |
00:24:24 | * | Jesin joined #nim |
00:34:36 | * | perturbation joined #nim |
00:49:11 | shodan45 | dom96: I got aporia to stop complaining about not finding nim, so I turned suggestions back on... but it never finds anything to suggest |
00:49:30 | dom96 | shodan45: suggest is broken currently |
00:49:34 | shodan45 | ah ok |
00:55:22 | * | JinShil quit (Remote host closed the connection) |
00:56:29 | * | JinShil joined #nim |
01:01:13 | * | davidhq quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
01:01:42 | * | davidhq joined #nim |
01:17:05 | * | sampwing quit (Ping timeout: 252 seconds) |
01:19:38 | * | sampwing joined #nim |
01:34:41 | perturbation | I'm writing a wrapper for LevelDB using the C API - I could try wrapping C++ directly (might be better for performance), but not really sure how to do that/if it's worth it |
01:35:03 | * | sampwing quit (Ping timeout: 252 seconds) |
01:36:16 | flaviu | Haskell uses term rewriting macros ("rewrite rules") extensively in libraries to perform deforestation. |
01:36:48 | flaviu | Sounds like an interesting direction for Nim, if someone wants to try implementing it. |
01:37:46 | perturbation | Wrapping C++ directly would (for LevelDB) avoid an extra memory allocation/copy when looking up a value |
01:38:50 | flaviu | Something important here is for there to be some way to mark and check for "effective purity". The purity that Haskell provides is undesirable and over-restrictive, certain forms of innocuous impurity are harmless. |
01:47:23 | * | superfunc joined #nim |
01:50:54 | * | akiradeveloper joined #nim |
01:52:36 | akiradeveloper | instead of Option type, I tried proc f(x: int|void) but not compiled |
01:53:20 | * | brson quit (Quit: leaving) |
01:53:33 | * | perturbation quit (Quit: back later) |
01:54:52 | akiradeveloper | f(x: int|nil) also failed though nil.type.name is nil |
01:57:24 | * | reem joined #nim |
02:00:14 | * | VinceAddons quit (Read error: Connection reset by peer) |
02:00:27 | * | darkf joined #nim |
02:04:43 | EXetoC | you shouldn't instantiate void |
02:05:00 | EXetoC | I've tried things like int|typedesc[void] which seems more appropriate, but it doesn't work either |
02:06:20 | * | sampwing joined #nim |
02:06:25 | EXetoC | you can't instantiate rather, but that's not the problem anyway. I suppose you could have a dummy object for this |
02:06:51 | akiradeveloper | what is a dummy object? |
02:07:00 | akiradeveloper | do you mean null object? |
02:07:20 | EXetoC | typedesc[None] maybe and then have a 'none' constant |
02:07:43 | EXetoC | no, just None (no typedesc) |
02:09:17 | akiradeveloper | I don't get it. |
02:09:29 | EXetoC | .eval |
02:09:35 | Mimbus | EXetoC: <no output> |
02:09:44 | EXetoC | will give you an example |
02:10:07 | akiradeveloper | .eval proc g(x:int|typedesc[None]) = discard |
02:10:10 | Mimbus | akiradeveloper: eval.nim(3, 22) Error: undeclared identifier: 'None' |
02:10:37 | * | sampwing quit (Ping timeout: 252 seconds) |
02:11:22 | akiradeveloper | I want to do the same thing like Option[T] type without using it |
02:11:54 | akiradeveloper | My expectation was int|void does this |
02:12:35 | akiradeveloper | .eval proc g(x:int|void) = discard |
02:12:39 | Mimbus | akiradeveloper: <no output> |
02:13:08 | akiradeveloper | .eval g(10) |
02:13:11 | Mimbus | akiradeveloper: eval.nim(3, 0) Error: undeclared identifier: 'g' |
02:13:15 | EXetoC | your solution would only be a compile-time construct though, unlike an Option type. different use cases |
02:13:36 | EXetoC | for experimentation, do it in #nim-offtopic |
02:13:40 | flaviu | akiradeveloper: stuff doesn't persist between sessions btw |
02:14:15 | akiradeveloper | yes |
02:14:50 | EXetoC | more importantly, one deals with values and the other with types |
02:20:16 | * | Sornaensis quit (Excess Flood) |
02:21:11 | * | Sornaensis joined #nim |
02:21:43 | EXetoC | .eval type None = object; let none = None(); proc foo(x: int|None): string =; when x is int:; result = "it's an int!"; else:; result = "got nothing"; echo foo(1), " ... ", foo(none) |
02:21:46 | Mimbus | EXetoC: it's an int! ... got nothing |
02:22:04 | EXetoC | it's really too long for a one-liner, but there you have it |
02:22:30 | EXetoC | but it's different from an Option type. have you seen this? https://github.com/fowlmouth/nimlibs/blob/master/fowltek/maybe_t.nim |
02:22:31 | akiradeveloper | In creating a module to share is it recommended to put all code in a single nim file? |
02:23:05 | flaviu | akiradeveloper: If you like things that way, sure.' |
02:23:36 | flaviu | think about your api and what would make the most sense. Is something logically separate? Put it in it's own module. |
02:23:55 | flaviu | Does it belong with the rest of the stuff? Put it with the rest of the stuff. |
02:27:18 | akiradeveloper | For exmaple, I have a directory mylib/ and it has some submodules, is it possible to share this library by mylib.nimble? |
02:28:37 | akiradeveloper | EXetoC: great |
02:29:59 | * | saml_ joined #nim |
02:30:15 | * | perturbation joined #nim |
02:35:09 | akiradeveloper | if I can to this without defining None type, that would be greater |
02:35:29 | perturbation | whoa - since when did Nim get type classes? |
02:35:34 | * | perturbation reads through manual |
02:36:03 | * | chemist70 joined #nim |
02:36:50 | * | ARCADIVS quit (Quit: ARCADIVS) |
02:39:25 | * | chemist69 quit (Ping timeout: 255 seconds) |
02:40:19 | EXetoC | akiradeveloper: well that other solution doesn't work |
02:41:23 | * | perturbation quit (Ping timeout: 250 seconds) |
02:41:52 | akiradeveloper | If something like None type (and it's instance none) is in the stdlib.. |
02:42:09 | EXetoC | you could have a dummy enum instead "type None = enum\n none" |
02:42:47 | EXetoC | no. it would be temporary solution. the typedesc approach is nicer, but doesn't work either |
02:43:23 | akiradeveloper | Do you mean int|typedesc[void]? |
02:44:44 | EXetoC | yep |
02:46:48 | akiradeveloper | EXetoC: https://gist.github.com/akiradeveloper/2dc7f61dd794d08e6685 is this what you mean? it works |
02:47:07 | EXetoC | except it does work |
02:47:09 | EXetoC | .eval proc foo(x: int|typedesc[void]) = discard; foo(void) |
02:47:12 | Mimbus | EXetoC: <no output> |
02:47:19 | * | kapil__ joined #nim |
02:48:13 | EXetoC | uh yeah. did it not work at some point? perhaps I only tried int|void; but anyway, it's good that it works |
02:50:39 | akiradeveloper | .eval let x = if false: 10 else: void |
02:50:42 | Mimbus | akiradeveloper: eval.nim(3, 27) Error: type mismatch: got (typedesc[void]) but expected 'int literal(10)' |
02:51:25 | akiradeveloper | x should be int|typedesc[void] but the compiler doesn't think so |
02:52:09 | EXetoC | that would be a generic instantiation at run time, which is not possible |
02:53:40 | EXetoC | .eval const x = when false: 10 else: void |
02:53:45 | Mimbus | EXetoC: <no output> |
02:55:53 | * | akiradeveloper quit (Remote host closed the connection) |
02:56:27 | * | akiradeveloper joined #nim |
02:57:02 | * | perturbation joined #nim |
02:57:52 | * | akiradeveloper quit (Read error: No route to host) |
02:57:58 | * | akiradev_ joined #nim |
02:59:03 | * | Mimbus quit (Remote host closed the connection) |
02:59:03 | * | flaviu quit (Remote host closed the connection) |
03:05:09 | * | flaviu joined #nim |
03:05:35 | * | Mimbus joined #nim |
03:07:08 | * | Var|Mobile joined #nim |
03:09:25 | * | Var|Mobile quit (Read error: Connection reset by peer) |
03:10:29 | * | Var|Mobile joined #nim |
03:13:10 | * | Var|Mobile quit (Read error: No route to host) |
03:13:28 | * | Var|Mobile joined #nim |
03:15:55 | * | Var|Mobile quit (Read error: Connection reset by peer) |
03:18:08 | * | Var|Mobile joined #nim |
03:20:32 | * | Var|Mobile quit (Read error: Connection reset by peer) |
03:21:37 | * | Var|Mobile joined #nim |
03:23:51 | * | Var|Mobile quit (Read error: Connection reset by peer) |
03:24:43 | * | superfunc quit (Remote host closed the connection) |
03:25:18 | * | Var|Mobile joined #nim |
03:29:20 | * | Var|Mobile quit (Read error: No route to host) |
03:29:33 | * | Var|Mobile joined #nim |
03:31:59 | * | Var|Mobile quit (Read error: Connection reset by peer) |
03:32:14 | * | Var|Mobile joined #nim |
03:32:14 | * | Var|Mobile quit (Read error: Connection reset by peer) |
03:32:32 | * | Var|Mobile joined #nim |
03:35:07 | * | Var|Mobile quit (Read error: No route to host) |
03:35:22 | * | Var|Mobile joined #nim |
03:35:22 | * | Var|Mobile quit (Read error: Connection reset by peer) |
03:35:39 | * | Var|Mobile joined #nim |
03:37:51 | * | Var|Mobile quit (Read error: Connection reset by peer) |
03:38:08 | * | Var|Mobile joined #nim |
03:38:11 | * | Var|Mobile quit (Read error: Connection reset by peer) |
03:38:23 | * | Var|Mobile joined #nim |
03:40:52 | * | Var|Mobile quit (Read error: Connection reset by peer) |
03:41:40 | * | Var|Mobile joined #nim |
03:43:34 | * | EXetoC quit (Ping timeout: 244 seconds) |
03:46:09 | * | Var|Mobile quit (Ping timeout: 244 seconds) |
03:46:52 | * | Var|Mobile joined #nim |
03:50:33 | * | Var|Mobile quit (Read error: No route to host) |
03:50:52 | * | Var|Mobile joined #nim |
03:53:12 | * | phI||Ip quit (Ping timeout: 276 seconds) |
03:55:28 | * | Triplefox quit (Ping timeout: 255 seconds) |
03:55:28 | * | clone1018_ quit (Ping timeout: 255 seconds) |
03:55:41 | * | Var|Mobile quit (Ping timeout: 246 seconds) |
03:56:19 | * | Var|Mobile joined #nim |
03:56:19 | * | Var|Mobile quit (Read error: Connection reset by peer) |
03:56:37 | * | Var|Mobile joined #nim |
04:02:45 | * | Var|Mobile quit (Read error: No route to host) |
04:03:00 | * | Var|Mobile joined #nim |
04:03:38 | * | akiradev_ quit (Remote host closed the connection) |
04:03:39 | * | Var|Mobile quit (Read error: Connection reset by peer) |
04:04:05 | * | Var|Mobile joined #nim |
04:04:17 | * | mal`` quit (Ping timeout: 252 seconds) |
04:04:17 | * | Var|Mobile quit (Read error: Connection reset by peer) |
04:04:34 | * | Var|Mobile joined #nim |
04:06:02 | dtscode | <3 exetoc |
04:06:02 | * | Var|Mobile quit (Read error: Connection reset by peer) |
04:06:19 | * | Var|Mobile joined #nim |
04:06:19 | * | Var|Mobile quit (Read error: Connection reset by peer) |
04:06:38 | * | Var|Mobile joined #nim |
04:06:38 | * | Var|Mobile quit (Read error: Connection reset by peer) |
04:06:55 | * | Var|Mobile joined #nim |
04:09:08 | * | Var|Mobile quit (Read error: Connection reset by peer) |
04:10:25 | * | Var|Mobile joined #nim |
04:10:36 | * | phI||Ip joined #nim |
04:10:48 | * | Triplefox joined #nim |
04:10:50 | * | Var|Mobile quit (Read error: Connection reset by peer) |
04:11:01 | * | Var|Mobile joined #nim |
04:11:04 | * | clone1018_ joined #nim |
04:13:33 | * | Var|Mobile quit (Read error: Connection reset by peer) |
04:14:03 | * | mal`` joined #nim |
04:16:37 | * | Var|Mobile joined #nim |
04:20:31 | * | mal`` quit (Ping timeout: 245 seconds) |
04:20:56 | * | Var|Mobile quit (Ping timeout: 245 seconds) |
04:23:10 | * | Var|Mobile joined #nim |
04:25:41 | * | Var|Mobile quit (Read error: Connection reset by peer) |
04:31:20 | * | Var|Mobile joined #nim |
04:35:29 | * | dtscode quit (Ping timeout: 265 seconds) |
04:36:03 | * | dtscode joined #nim |
04:36:03 | * | Sornaensis quit (Excess Flood) |
04:36:48 | * | Sornaensis joined #nim |
04:40:19 | * | Var|Mobile quit (Ping timeout: 265 seconds) |
04:41:28 | * | Var|Mobile joined #nim |
04:43:38 | * | Var|Mobile quit (Read error: Connection reset by peer) |
04:44:09 | * | Var|Mobile joined #nim |
04:46:21 | * | saml_ quit (Quit: Leaving) |
04:48:10 | * | Var|Mobile quit (Read error: No route to host) |
04:51:39 | * | BitPuffin quit (Ping timeout: 264 seconds) |
04:52:18 | * | Var|Mobile joined #nim |
05:04:25 | * | Var|Mobile quit (Read error: Connection reset by peer) |
05:04:44 | * | Var|Mobile joined #nim |
05:07:52 | * | Var|Mobile quit (Read error: No route to host) |
05:08:09 | * | Var|Mobile joined #nim |
05:12:45 | * | Var|Mobile quit (Ping timeout: 256 seconds) |
05:14:15 | * | Var|Mobile joined #nim |
05:16:32 | * | Var|Mobile quit (Read error: Connection reset by peer) |
05:18:36 | * | Var|Mobile joined #nim |
05:18:43 | * | Var|Mobile quit (Read error: Connection reset by peer) |
05:19:17 | * | Var|Mobile joined #nim |
05:19:17 | * | Var|Mobile quit (Read error: Connection reset by peer) |
05:19:33 | * | Var|Mobile joined #nim |
05:19:49 | * | reem quit (Remote host closed the connection) |
05:19:49 | * | Var|Mobile quit (Read error: Connection reset by peer) |
05:20:17 | * | Var|Mobile joined #nim |
05:21:56 | * | mal`` joined #nim |
05:21:58 | * | Var|Mobile quit (Read error: Connection reset by peer) |
05:22:43 | * | Var|Mobile joined #nim |
05:26:27 | * | Var|Mobile quit (Read error: No route to host) |
05:26:47 | * | mal`` quit (Ping timeout: 252 seconds) |
05:26:47 | * | reem joined #nim |
05:26:47 | * | Var|Mobile joined #nim |
05:31:51 | * | Var|Mobile quit (Ping timeout: 264 seconds) |
05:37:18 | * | reem quit (Remote host closed the connection) |
05:39:41 | * | reem joined #nim |
05:43:09 | * | jasondotstar quit (Quit: Leaving) |
05:59:44 | * | reem quit (Remote host closed the connection) |
06:08:38 | * | reem joined #nim |
06:10:31 | * | reem quit (Remote host closed the connection) |
06:18:42 | * | reem joined #nim |
06:20:55 | * | nande quit (Remote host closed the connection) |
06:29:10 | * | reem quit (Remote host closed the connection) |
06:30:11 | * | reem joined #nim |
06:45:11 | * | reem quit (Remote host closed the connection) |
06:46:43 | * | sillesta joined #nim |
06:48:40 | * | Sornaensis quit (Excess Flood) |
06:49:31 | * | Sornaensis joined #nim |
06:50:32 | * | akiradeveloper joined #nim |
06:58:24 | reloc0 | moin |
06:58:39 | * | Var|Mobile joined #nim |
06:59:40 | * | vendethiel quit (Quit: q+) |
06:59:41 | * | Var|Mobile quit (Read error: Connection reset by peer) |
06:59:59 | * | Var|Mobile joined #nim |
06:59:59 | * | Var|Mobile quit (Read error: Connection reset by peer) |
07:00:24 | * | Var|Mobile joined #nim |
07:02:29 | * | Var|Mobile quit (Read error: Connection reset by peer) |
07:04:45 | * | reem joined #nim |
07:18:11 | * | Var|Mobile joined #nim |
07:21:19 | * | Var|Mobile quit (Read error: Connection reset by peer) |
07:24:29 | * | reem quit (Remote host closed the connection) |
07:26:05 | * | Var|Mobile joined #nim |
07:26:32 | * | sillesta quit (Ping timeout: 245 seconds) |
07:26:32 | * | Var|Mobile quit (Read error: Connection reset by peer) |
07:26:45 | * | Var|Mobile joined #nim |
07:28:51 | * | Var|Mobile quit (Read error: Connection reset by peer) |
07:29:30 | * | Var|Mobile joined #nim |
07:32:22 | * | Var|Mobile quit (Read error: Connection reset by peer) |
07:34:05 | * | Var|Mobile joined #nim |
07:34:37 | * | reem joined #nim |
07:34:37 | * | Var|Mobile quit (Read error: Connection reset by peer) |
07:34:55 | * | Var|Mobile joined #nim |
07:39:21 | * | akiradeveloper quit () |
07:39:22 | * | Var|Mobile quit (Read error: Connection reset by peer) |
07:39:38 | * | akiradeveloper joined #nim |
07:39:39 | * | reem quit (Ping timeout: 264 seconds) |
07:47:56 | * | BitPuffin joined #nim |
07:50:24 | * | JinShil quit (Quit: Konversation terminated!) |
07:52:23 | * | BitPuffin quit (Ping timeout: 250 seconds) |
07:54:13 | * | perturbation quit (Quit: Leaving) |
07:54:53 | akiradeveloper | the output of nim-doc doesn't include what is generated by template or macro |
07:54:56 | akiradeveloper | I am sad |
07:55:04 | * | reem joined #nim |
08:19:34 | * | reem quit (Remote host closed the connection) |
08:21:25 | * | reem joined #nim |
08:23:43 | * | reem quit (Remote host closed the connection) |
08:24:36 | * | reem joined #nim |
08:31:23 | * | chemist70 quit (Quit: leaving) |
08:32:27 | * | chemist69 joined #nim |
08:33:20 | * | reem quit (Remote host closed the connection) |
08:35:20 | * | chemist69 quit (Client Quit) |
08:35:29 | * | chemist69 joined #nim |
08:35:42 | * | reem joined #nim |
08:40:31 | reactormonk | akiradeveloper, pretty sure that's reported somewhere |
08:43:52 | * | akiradeveloper quit (Remote host closed the connection) |
08:54:05 | * | bjz joined #nim |
08:56:15 | * | dumdum joined #nim |
09:01:10 | * | reem quit (Remote host closed the connection) |
09:08:00 | * | reem joined #nim |
09:08:18 | * | nimterested joined #nim |
09:09:57 | * | akiradeveloper joined #nim |
09:11:43 | * | reem quit (Remote host closed the connection) |
09:11:45 | * | Trustable joined #nim |
09:29:29 | * | kuzy000_ joined #nim |
09:34:35 | * | reem joined #nim |
09:35:05 | * | Sornaensis quit (Max SendQ exceeded) |
09:36:24 | * | Sornaensis joined #nim |
09:41:17 | * | BitPuffin joined #nim |
09:48:18 | * | reem quit (Remote host closed the connection) |
09:49:38 | * | reem joined #nim |
09:52:23 | * | Triplefox quit (Quit: No Ping reply in 180 seconds.) |
09:53:28 | * | Triplefox joined #nim |
09:53:43 | * | Angry quit (Ping timeout: 252 seconds) |
09:54:58 | * | BitPuffin quit (Ping timeout: 265 seconds) |
09:56:39 | * | Angry joined #nim |
10:00:10 | * | reem quit (Remote host closed the connection) |
10:00:19 | * | BlaXpirit joined #nim |
10:01:27 | * | reem joined #nim |
10:04:01 | * | tschmid quit (Ping timeout: 256 seconds) |
10:09:59 | * | akiradeveloper quit (Remote host closed the connection) |
10:16:39 | * | Var|Mobile joined #nim |
10:20:21 | * | Var|Mobile quit (Read error: Connection reset by peer) |
10:22:00 | * | BitPuffin joined #nim |
10:24:40 | * | VinceAddons joined #nim |
10:28:46 | * | Jehan_ joined #nim |
10:30:19 | * | nimterested quit (Ping timeout: 246 seconds) |
10:37:31 | * | gsingh93 quit (Quit: Connection closed for inactivity) |
10:37:53 | * | Var|Mobile joined #nim |
10:40:32 | * | Var|Mobile quit (Read error: Connection reset by peer) |
10:46:17 | * | BitPuffin quit (Ping timeout: 250 seconds) |
10:50:48 | * | EXetoC joined #nim |
10:52:33 | * | reem quit (Remote host closed the connection) |
10:55:35 | * | reem joined #nim |
11:01:06 | * | akiradeveloper joined #nim |
11:04:13 | * | nimterested joined #nim |
11:04:44 | * | akiradeveloper quit (Client Quit) |
11:06:19 | * | Jehan_ quit (Quit: Leaving) |
11:10:34 | * | nimterested quit (Ping timeout: 246 seconds) |
11:24:01 | * | reem quit (Remote host closed the connection) |
11:31:08 | * | reem joined #nim |
11:41:16 | * | Var|Mobile joined #nim |
11:56:48 | * | FusionGaming joined #nim |
11:57:20 | * | Varriount_ joined #nim |
11:59:40 | * | xeizlif quit (Ping timeout: 265 seconds) |
11:59:47 | * | xeizlif joined #nim |
12:00:15 | * | Fusion_Gaming quit (Ping timeout: 250 seconds) |
12:00:15 | * | Varriount quit (Ping timeout: 250 seconds) |
12:00:17 | * | Var|Mobile quit (Ping timeout: 245 seconds) |
12:03:13 | * | Var|Mobile joined #nim |
12:19:10 | * | Angry quit (*.net *.split) |
12:19:10 | * | skroll3 quit (*.net *.split) |
12:19:10 | * | biscarch quit (*.net *.split) |
12:19:10 | * | skyfex quit (*.net *.split) |
12:19:10 | * | profan quit (*.net *.split) |
12:21:01 | * | Angry joined #nim |
12:21:01 | * | skroll3 joined #nim |
12:21:01 | * | biscarch joined #nim |
12:21:01 | * | skyfex joined #nim |
12:23:43 | * | kashyap_ quit (Ping timeout: 246 seconds) |
12:25:21 | * | gunn quit (Ping timeout: 264 seconds) |
12:26:37 | * | gunn joined #nim |
12:29:53 | * | BitPuffin joined #nim |
12:59:57 | * | saml_ joined #nim |
13:18:17 | * | reem quit (Remote host closed the connection) |
13:20:49 | * | kapil__ quit (Quit: Connection closed for inactivity) |
13:35:40 | * | chemist69 quit (Ping timeout: 244 seconds) |
13:36:13 | * | matkuki joined #nim |
13:37:37 | * | chemist69 joined #nim |
13:38:17 | matkuki | Araq: I had a cyclic dependancy error, but the compiler acts as if a module is missing. Is there a possibility of adding an explicit error for that? |
13:39:42 | matkuki | Oh, he's not here. |
13:41:13 | matkuki | Anyone tried compiling the devel source? On windows I get a type mismatch error with "koch boot -d:release" in rstgen.nim. |
13:42:01 | * | shevy joined #nim |
13:43:03 | * | Puffin joined #nim |
13:47:22 | * | Puffin quit (Ping timeout: 240 seconds) |
13:47:23 | * | Var|Mobile quit (Read error: Connection reset by peer) |
13:47:54 | * | Var|Mobile joined #nim |
13:50:29 | def- | matkuki: yesterday it worked on linux |
13:50:29 | * | Var|Mobile quit (Read error: Connection reset by peer) |
13:50:48 | * | Var|Mobile joined #nim |
13:51:56 | matkuki | def-: ..\nim-devel\lib\packages\docutils\rstgen.nim(606, 6) Error: type mismatch: got (seq[string], proc (T, T): int) |
13:51:57 | * | Var|Mobile quit (Read error: Connection reset by peer) |
13:51:58 | matkuki | but expected one of: ... |
13:52:16 | * | Var|Mobile joined #nim |
13:54:37 | * | Var|Mobile quit (Read error: Connection reset by peer) |
13:54:57 | * | Var|Mobile joined #nim |
13:58:48 | * | Var|Mobile quit (Read error: Connection reset by peer) |
13:59:34 | * | saml_ quit (Quit: Leaving) |
13:59:35 | * | Var|Mobile joined #nim |
14:02:45 | def- | matkuki: That's caused by too old csources. Only breaks bootstrapping on Windows. Really should be fixed |
14:02:46 | * | Var|Mobile quit (Read error: Connection reset by peer) |
14:03:48 | matkuki | def-: Ok, thanks. |
14:04:05 | * | Var|Mobile joined #nim |
14:05:53 | * | gunn quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
14:08:22 | * | Var|Mobile quit (Ping timeout: 240 seconds) |
14:08:45 | * | semperos joined #nim |
14:09:05 | * | Var|Mobile joined #nim |
14:09:39 | * | ibeex joined #nim |
14:16:53 | * | Rush__ quit (Quit: No Ping reply in 180 seconds.) |
14:19:09 | * | reem joined #nim |
14:20:07 | * | RushPL joined #nim |
14:24:33 | * | reem quit (Ping timeout: 245 seconds) |
14:25:52 | * | Var|Mobile quit (Ping timeout: 240 seconds) |
14:29:33 | * | Var|Mobile joined #nim |
14:32:10 | * | Var|Mobile quit (Read error: Connection reset by peer) |
14:34:07 | * | Var|Mobile joined #nim |
14:52:57 | * | ibeex quit (Quit: Textual IRC Client: www.textualapp.com) |
14:53:45 | matkuki | Araq: You there? |
14:53:56 | Araq | hi |
14:54:02 | matkuki | hi |
14:54:08 | matkuki | I had a cyclic dependancy error, but the compiler acts as if a module is missing. Is there a possibility of adding an explicit error for that? |
14:54:14 | * | bjz_ joined #nim |
14:55:02 | Araq | sure |
14:55:12 | BlaXpirit | you know, matkuki, even Python doesn't have anything special for cyclic dependencies |
14:55:37 | * | bjz quit (Ping timeout: 255 seconds) |
14:55:52 | matkuki | BlaXpirit: I know, that's why I'm asking. |
14:55:58 | matkuki | Araq: Great! |
14:58:58 | matkuki | Araq: Should I add it as a feature issue on github? |
14:59:18 | Araq | sure |
14:59:57 | matkuki | Will do, thanks. |
15:02:58 | * | tschmid joined #nim |
15:09:52 | * | BlaXpirit_ joined #nim |
15:10:46 | * | BitPuffin quit (Read error: Connection reset by peer) |
15:10:54 | * | mwbrown joined #nim |
15:11:12 | * | BitPuffin joined #nim |
15:12:30 | * | BlaXpirit quit (Ping timeout: 252 seconds) |
15:12:55 | * | semperos left #nim ("http://quassel-irc.org - Chat comfortably. Anywhere.") |
15:20:46 | * | BlaXpirit_ quit (Quit: Quit Konversation) |
15:27:06 | * | BlaXpirit joined #nim |
15:28:04 | * | darkf quit (Quit: Leaving) |
15:32:22 | * | profan joined #nim |
15:33:35 | * | tschmid quit (Ping timeout: 246 seconds) |
15:42:19 | * | Boscop joined #nim |
15:44:16 | * | Boscop_ joined #nim |
15:47:19 | * | Boscop quit (Ping timeout: 245 seconds) |
15:59:13 | * | gmoore quit (Ping timeout: 264 seconds) |
16:15:06 | * | Boscop joined #nim |
16:16:29 | * | Boscop_ quit (Ping timeout: 245 seconds) |
16:24:52 | * | BlaXpirit quit (Ping timeout: 240 seconds) |
16:25:34 | * | wb joined #nim |
16:28:48 | * | BlaXpirit joined #nim |
16:31:19 | * | sillesta joined #nim |
16:32:01 | sillesta | anyone know of any resources for writing modular code? (eg. a renderer which doesn't depend on game specific data) |
16:58:32 | * | NimBot joined #nim |
16:58:56 | * | silven joined #nim |
17:01:42 | * | matkuki quit (Quit: ChatZilla 0.9.91.1 [Firefox 35.0.1/20150122214805]) |
17:09:04 | * | brson joined #nim |
17:09:28 | * | Angry quit (Remote host closed the connection) |
17:24:51 | * | fowl joined #nim |
17:36:30 | * | mytrile joined #nim |
17:54:45 | * | Matthias247 joined #nim |
17:57:33 | * | reem joined #nim |
17:58:24 | dumdum | sillesta: http://nim-lang.org/manual.html#modules, but the question is not really nim specific |
17:59:13 | sillesta | yeah, probably wrong channel. don't know anywhere else i could ask it though.. |
17:59:50 | shodan45 | ##programming IIRC exists |
18:00:16 | shodan45 | yep, has lots of people too |
18:00:27 | shodan45 | sillesta: ^ |
18:00:36 | sillesta | joined, thanks :) |
18:02:03 | * | reem quit (Ping timeout: 245 seconds) |
18:02:13 | * | mytrile quit (Ping timeout: 264 seconds) |
18:02:36 | * | mytrile joined #nim |
18:54:40 | ekarlso | dom96: do you have a semi thought on how you would do it ? |
18:56:02 | * | NimBot joined #nim |
19:07:34 | * | mytrile left #nim (#nim) |
19:11:50 | dom96 | ekarlso: do what? |
19:14:15 | * | dumdum quit (Ping timeout: 256 seconds) |
19:15:10 | * | ehaliewicz joined #nim |
19:22:31 | ekarlso | dom96: do nimble to support old and new without duplicating code too much |
19:23:11 | dom96 | ekarlso: I explained this already have I not? |
19:25:21 | dom96 | Abstract duplicate things out into functions if you need to. |
19:26:28 | ekarlso | dom96: meh, is it bad using the same Pacakge type though for both things ? |
19:27:04 | dom96 | should be ok, document the fields well though please |
19:27:32 | ekarlso | sure ok |
19:28:09 | ekarlso | dom96: what about supporting multiple "sources" for packages ? |
19:28:17 | ekarlso | ie diff packages.json and registries at the same time |
19:29:04 | dom96 | that will come later |
19:29:35 | ekarlso | ok :p |
19:34:51 | Araq | hrm this 'rope' business in the codegen qualifies as the worst idea ever |
19:35:17 | Araq | instead of ASTs we have a tree structure here that is rather meaningless |
19:36:32 | Araq | want to to take away the * from T*? you better convert the rope to a string, take it away, and convert it back to a rope ... |
19:40:47 | * | Mat4 joined #nim |
19:40:49 | Mat4 | hello |
19:42:01 | * | johnsoft quit (Ping timeout: 256 seconds) |
19:42:39 | * | johnsoft joined #nim |
19:44:27 | Araq | hi Mat4 |
19:44:43 | Mat4 | hi Araq |
19:47:35 | Mat4 | I'm start working on native-code integeration for Nim |
19:47:47 | Mat4 | ^integration |
19:47:58 | Araq | did you get dom96's stuff? |
19:48:12 | Mat4 | not yet, have he published his code ? |
19:48:44 | Mat4 | (it would be sad duplicating effort in my opinion) |
19:54:47 | * | Jesin quit (Quit: Leaving) |
19:58:53 | * | reem joined #nim |
20:01:39 | * | Matthias247 quit (Quit: Matthias247) |
20:03:18 | * | reem quit (Ping timeout: 245 seconds) |
20:04:26 | * | Matthias247 joined #nim |
20:15:54 | * | Jesin joined #nim |
20:16:07 | Mat4 | it doesn't seem so |
20:16:07 | * | Var|Mobile quit (Read error: Connection reset by peer) |
20:16:43 | * | Var|Mobile joined #nim |
20:17:25 | * | sampwing quit (Ping timeout: 252 seconds) |
20:17:26 | * | Var|Mobile quit (Read error: Connection reset by peer) |
20:22:35 | Mat4 | Araq: for initializing an array all elements need to be declared. How about initializing only declared elements and implicitly zero the rest ? |
20:23:17 | Araq | Mat4: that's just a macro away |
20:23:53 | Araq | and in general, I like the additional checking that the array sizes are equal |
20:25:16 | * | Matthias247 quit (Read error: Connection reset by peer) |
20:28:29 | shodan45 | so I'm finally getting around to actually USING nim... and I just had my first "aha!" moment :D |
20:29:01 | Mat4 | I hope it is a positive one |
20:29:13 | shodan45 | Mat4: oh it was :) |
20:31:03 | shodan45 | oh btw, to anyone writing docs for nim: when talking about ref & ptr, don't forget to mention the "addr" proc |
20:31:13 | shodan45 | took me a while to find it |
20:41:38 | * | nande joined #nim |
20:51:49 | shodan45 | woohoo! my screenshot app works :) |
20:59:29 | Mat4 | congratulation |
21:00:05 | * | alexruf joined #nim |
21:06:07 | * | akiradeveloper joined #nim |
21:06:16 | * | Var|Mobile joined #nim |
21:08:33 | * | Var|Mobile quit (Read error: Connection reset by peer) |
21:13:02 | * | Var|Mobile joined #nim |
21:15:23 | * | Var|Mobile quit (Read error: Connection reset by peer) |
21:17:19 | * | Var|Mobile joined #nim |
21:19:53 | * | Var|Mobile quit (Read error: Connection reset by peer) |
21:20:34 | * | Var|Mobile joined #nim |
21:24:58 | * | Var|Mobile quit (Ping timeout: 245 seconds) |
21:26:57 | * | Var|Mobile joined #nim |
21:29:19 | * | Var|Mobile quit (Read error: Connection reset by peer) |
21:29:53 | * | Var|Mobile joined #nim |
21:29:53 | * | Var|Mobile quit (Read error: Connection reset by peer) |
21:30:07 | * | Var|Mobile joined #nim |
21:32:28 | * | Var|Mobile quit (Read error: Connection reset by peer) |
21:33:07 | * | Var|Mobile joined #nim |
21:33:56 | * | Var|Mobile quit (Read error: Connection reset by peer) |
21:34:07 | * | Var|Mobile joined #nim |
21:36:38 | * | Var|Mobile quit (Read error: Connection reset by peer) |
21:39:28 | * | Var|Mobile joined #nim |
21:42:02 | * | sampwing joined #nim |
21:43:57 | * | Var|Mobile quit (Ping timeout: 252 seconds) |
21:47:33 | * | nande quit (Remote host closed the connection) |
21:47:34 | * | Var|Mobile joined #nim |
21:47:34 | * | nande_ joined #nim |
21:48:23 | * | nande_ is now known as nande |
21:48:24 | * | Var|Mobile quit (Read error: Connection reset by peer) |
21:48:51 | dom96 | Mat4: https://github.com/Araq/Nim/tree/asmgen |
21:49:41 | * | kuzy000_ quit (Ping timeout: 245 seconds) |
21:50:45 | * | Var|Mobile joined #nim |
21:51:11 | Mat4 | thanks |
21:51:13 | * | Var|Mobile quit (Read error: Connection reset by peer) |
21:51:28 | * | Var|Mobile joined #nim |
21:52:58 | * | BitPuffin quit (Ping timeout: 264 seconds) |
21:52:58 | * | Var|Mobile quit (Read error: Connection reset by peer) |
21:53:13 | * | Var|Mobile joined #nim |
21:53:14 | * | Var|Mobile quit (Read error: Connection reset by peer) |
21:53:29 | * | Var|Mobile joined #nim |
21:54:07 | * | alexruf quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
21:54:08 | * | Var|Mobile quit (Read error: Connection reset by peer) |
21:55:27 | * | alexruf joined #nim |
21:55:50 | * | Var|Mobile joined #nim |
21:55:50 | * | Var|Mobile quit (Read error: Connection reset by peer) |
21:56:03 | * | Var|Mobile joined #nim |
21:58:37 | * | Var|Mobile quit (Read error: Connection reset by peer) |
21:59:09 | * | Var|Mobile joined #nim |
22:01:19 | * | Jesin quit (Quit: Leaving) |
22:01:25 | Mat4 | dom96: generating assembler output is straight forward, I think you just need to compile some test programs and take a look at the listings |
22:02:50 | Mat4 | (be aware that the register assigment is not static of course) |
22:03:22 | * | Var|Mobile quit (Ping timeout: 240 seconds) |
22:03:45 | dom96 | I know, and I was doing that already. |
22:04:54 | Mat4 | so good work |
22:05:07 | * | Jesin joined #nim |
22:09:16 | dom96 | thanks :) |
22:09:22 | dom96 | Mat4: how far along is your code gen? |
22:10:39 | Mat4 | as written it works. I'm using it at current as AOT compiler for embedded programming |
22:11:21 | * | flaviu left #nim (#nim) |
22:11:27 | * | flaviu joined #nim |
22:11:34 | * | chemist69 quit (Quit: Lost terminal) |
22:17:45 | * | BlaXpirit quit (Quit: Quit Konversation) |
22:18:07 | Mat4 | I need writing a simple parser for embedding IL code (just as your additions insert assembler statements) |
22:18:39 | Araq | really? why? |
22:18:47 | * | sampwing quit (Ping timeout: 252 seconds) |
22:20:02 | * | Jesin quit (Quit: Leaving) |
22:23:16 | Mat4 | I have two requests for using the generator as Fortran and TCL (!) environment. Implementing an IL parser ease work for this |
22:24:46 | Araq | er ... ok. |
22:25:08 | Araq | interesting that TCl is still around |
22:25:12 | * | flaviu quit (Remote host closed the connection) |
22:25:29 | * | flaviu joined #nim |
22:25:49 | shevy | it is the COBOL of the GUIs |
22:26:24 | dtscode | cobol on cogs is a thing |
22:26:58 | Araq | hey shevy wb |
22:27:10 | shevy | o/ |
22:27:27 | Mat4 | TCL found use as scripting language for two comercially 3D modelling systems, mostly used for deposit exploration |
22:29:11 | Mat4 | (have I noticed that Cobol is still in use today?) |
22:30:19 | * | Var|Mobile joined #nim |
22:32:29 | Araq | yeah yeah yeah, everybody uses cobol everywhere, we know |
22:33:41 | Mat4 | *lol* |
22:34:13 | Mat4 | Finanzbuchhaltung *r䵳per* |
22:37:29 | * | Var|Mobile quit (Ping timeout: 252 seconds) |
22:46:36 | * | saml quit (Quit: Leaving) |
22:47:17 | * | alexruf quit (Quit: Textual IRC Client: www.textualapp.com) |
22:48:38 | * | reem joined #nim |
22:52:53 | * | reem quit (Ping timeout: 245 seconds) |
23:02:37 | * | mwbrown quit (Ping timeout: 256 seconds) |
23:07:39 | * | sampwing joined #nim |
23:13:20 | Mat4 | ciao |
23:13:31 | * | Mat4 quit (Quit: Verlassend) |
23:22:03 | * | Trustable quit (Remote host closed the connection) |
23:23:44 | * | sillesta64 joined #nim |
23:25:17 | * | sillesta quit (Ping timeout: 245 seconds) |
23:32:37 | * | Var|Mobile joined #nim |
23:32:37 | * | Var|Mobile quit (Read error: Connection reset by peer) |
23:32:55 | * | Var|Mobile joined #nim |
23:35:13 | * | Var|Mobile quit (Read error: Connection reset by peer) |
23:35:48 | * | Var|Mobile joined #nim |
23:36:51 | * | MyMind quit (Quit: WeeChat 1.2-dev) |
23:39:07 | * | Var|Mobile quit (Read error: Connection reset by peer) |
23:39:22 | * | Matthias247 joined #nim |
23:40:21 | * | Var|Mobile joined #nim |
23:40:21 | * | Var|Mobile quit (Read error: Connection reset by peer) |
23:40:36 | * | Var|Mobile joined #nim |
23:43:08 | * | Var|Mobile quit (Read error: Connection reset by peer) |
23:43:25 | * | Var|Mobile joined #nim |
23:44:57 | * | sampwing quit (Ping timeout: 252 seconds) |
23:44:58 | * | Var|Mobile quit (Read error: Connection reset by peer) |
23:45:43 | * | Var|Mobile joined #nim |
23:47:41 | * | saml_ joined #nim |
23:47:41 | * | Var|Mobile quit (Read error: Connection reset by peer) |
23:50:22 | * | Var|Mobile joined #nim |
23:54:02 | * | Var|Mobile quit (Read error: No route to host) |
23:54:42 | * | Var|Mobile joined #nim |
23:56:59 | * | Var|Mobile quit (Read error: Connection reset by peer) |
23:57:21 | * | Var|Mobile joined #nim |