| 00:01:09 | * | boydgreenfield joined #nimrod |
| 00:01:12 | * | ics quit (Read error: Connection reset by peer) |
| 00:01:58 | * | ics joined #nimrod |
| 00:08:52 | * | lorxu joined #nimrod |
| 00:09:13 | * | brson quit (Ping timeout: 272 seconds) |
| 00:10:22 | * | brson joined #nimrod |
| 00:24:42 | * | boydgreenfield quit (Quit: boydgreenfield) |
| 00:38:46 | * | Swammy joined #nimrod |
| 00:59:18 | * | boydgreenfield joined #nimrod |
| 01:15:58 | * | brson quit (Quit: leaving) |
| 01:19:26 | * | ARCADIVS quit (Quit: WeeChat 0.4.3) |
| 01:23:45 | * | gsingh93_ joined #nimrod |
| 01:25:55 | * | xenagi joined #nimrod |
| 01:28:26 | * | boydgreenfield quit (Quit: boydgreenfield) |
| 01:29:46 | * | lorxu quit (Remote host closed the connection) |
| 01:31:33 | * | q66 quit (Quit: Leaving) |
| 01:37:08 | * | krusipo_ quit (Ping timeout: 240 seconds) |
| 01:41:21 | * | Varriount|Mobile quit (Quit: AndroIRC - Android IRC Client ( http://www.androirc.com )) |
| 01:42:08 | * | boydgreenfield joined #nimrod |
| 01:43:53 | * | xtagon joined #nimrod |
| 01:53:29 | * | superfunc joined #nimrod |
| 01:54:46 | * | lorxu joined #nimrod |
| 01:58:03 | * | boydgreenfield quit (Quit: boydgreenfield) |
| 02:15:27 | * | saml_ quit (Ping timeout: 255 seconds) |
| 02:21:44 | * | ics quit (Ping timeout: 252 seconds) |
| 02:23:07 | * | ics joined #nimrod |
| 02:27:55 | * | saml_ joined #nimrod |
| 02:45:04 | * | xenagi quit (Quit: Leaving) |
| 03:05:57 | * | saml_ quit (Ping timeout: 248 seconds) |
| 03:13:41 | * | ics quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
| 03:40:33 | * | superfunc quit (Ping timeout: 240 seconds) |
| 03:53:06 | * | Varriount|Mobile joined #nimrod |
| 03:54:53 | Varriount|Mobile | dom96: The forum is down |
| 04:22:06 | * | ARCADIVS joined #nimrod |
| 04:27:16 | * | superfunc joined #nimrod |
| 04:32:20 | Swammy | right? |
| 04:35:33 | * | gkoller1 quit (Ping timeout: 248 seconds) |
| 04:55:29 | * | superfunc quit (Ping timeout: 272 seconds) |
| 05:01:32 | * | BitPuffin quit (Ping timeout: 264 seconds) |
| 05:05:24 | * | ARCADIVS quit (Ping timeout: 260 seconds) |
| 05:15:35 | * | boydgreenfield joined #nimrod |
| 05:18:30 | * | superfunc joined #nimrod |
| 05:32:29 | * | MrVagabond joined #nimrod |
| 05:37:28 | * | ARCADIVS joined #nimrod |
| 05:46:32 | * | xtagon quit (Ping timeout: 264 seconds) |
| 05:49:36 | * | BitPuffin joined #nimrod |
| 05:59:47 | * | gkoller joined #nimrod |
| 06:03:03 | * | MrVagabond quit (Quit: WeeChat 0.4.3) |
| 06:05:08 | * | Varriount|Mobile quit (Ping timeout: 264 seconds) |
| 06:05:28 | * | kshlm joined #nimrod |
| 06:06:08 | * | flaviu quit (Ping timeout: 252 seconds) |
| 06:20:45 | * | Skrylar joined #nimrod |
| 06:28:58 | * | boydgreenfield quit (Quit: boydgreenfield) |
| 06:42:20 | * | superfunc quit (Ping timeout: 264 seconds) |
| 06:55:11 | * | dom96_ios joined #nimrod |
| 06:56:03 | dom96_ios | Well i restarted the forum, it feels a bit slow though |
| 06:56:20 | dom96_ios | I'm in a train though so i can't do much about that. |
| 06:56:37 | * | dom96_ios quit (Client Quit) |
| 07:55:48 | * | gkoller quit (Quit: gkoller) |
| 07:56:12 | * | gkoller joined #nimrod |
| 08:04:26 | flyx | fowl: are there people who *want* to be a “master of tests”? |
| 08:10:47 | * | gkoller left #nimrod (#nimrod) |
| 08:11:16 | * | feuloren joined #nimrod |
| 08:41:33 | * | feuloren quit (Ping timeout: 240 seconds) |
| 08:59:33 | * | gsingh93_ quit (Quit: Connection closed for inactivity) |
| 09:03:09 | * | BitPuffin quit (Ping timeout: 255 seconds) |
| 09:10:52 | * | kunev joined #nimrod |
| 09:16:27 | * | BitPuffin joined #nimrod |
| 09:28:27 | * | Swammy quit (Ping timeout: 272 seconds) |
| 09:57:49 | * | utkan joined #nimrod |
| 10:20:54 | * | Trustable joined #nimrod |
| 10:24:53 | * | utkan quit (Ping timeout: 248 seconds) |
| 10:57:21 | * | Ven joined #nimrod |
| 10:58:54 | * | Ven is now known as vend |
| 11:02:33 | * | feuloren joined #nimrod |
| 11:04:46 | * | ARCADIVS quit (Quit: WeeChat 0.4.3) |
| 11:15:13 | * | vend quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
| 11:32:16 | * | kshlm quit (Ping timeout: 260 seconds) |
| 11:50:09 | * | utkan joined #nimrod |
| 12:09:11 | * | ics joined #nimrod |
| 12:17:41 | * | Ven joined #nimrod |
| 12:26:25 | * | untitaker quit (Ping timeout: 272 seconds) |
| 12:29:58 | * | Amrykid quit (Ping timeout: 252 seconds) |
| 12:29:58 | * | Araq quit (Ping timeout: 252 seconds) |
| 12:30:24 | * | Araq_bnc joined #nimrod |
| 12:31:54 | * | Amrykid joined #nimrod |
| 12:32:36 | * | untitaker joined #nimrod |
| 12:34:09 | * | Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
| 12:35:44 | * | lorxu quit (Ping timeout: 264 seconds) |
| 12:37:38 | * | Varriount|Mobile joined #nimrod |
| 12:40:50 | * | Ven joined #nimrod |
| 12:59:24 | * | flaviu joined #nimrod |
| 13:11:35 | * | utkan quit (Quit: Lingo - http://www.lingoirc.com) |
| 13:11:51 | * | utkan joined #nimrod |
| 13:29:17 | * | Varriount|Mobile quit (Remote host closed the connection) |
| 13:29:30 | * | Varriount|Mobile joined #nimrod |
| 13:29:30 | * | utkan quit (Read error: Connection reset by peer) |
| 13:32:47 | * | Varriount-Mobile joined #nimrod |
| 13:36:35 | * | Varriount|Mobile quit (Ping timeout: 252 seconds) |
| 13:42:03 | * | feuloren quit (Ping timeout: 240 seconds) |
| 13:44:02 | * | darkf quit (Quit: Leaving) |
| 13:45:45 | * | Varriount-Mobile quit (Read error: Connection reset by peer) |
| 14:43:41 | * | BitPuffin quit (Ping timeout: 252 seconds) |
| 14:47:09 | * | utkan joined #nimrod |
| 14:56:59 | * | Demos joined #nimrod |
| 15:09:48 | * | ics quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
| 15:11:08 | * | utkan quit (Quit: Computer has gone to sleep.) |
| 15:38:44 | * | Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
| 15:38:56 | * | icebattl1 quit (Remote host closed the connection) |
| 15:43:41 | OrionPK | we |
| 15:43:42 | OrionPK | well |
| 15:43:46 | OrionPK | if anyone wants to wrap RakNet |
| 15:43:49 | OrionPK | it's open source now! |
| 15:43:49 | OrionPK | https://github.com/OculusVR/RakNet |
| 15:44:15 | OrionPK | https://github.com/onionhammer/clibpp |
| 15:47:32 | * | Ven joined #nimrod |
| 16:17:19 | * | BitPuffin joined #nimrod |
| 16:37:22 | * | Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
| 16:38:23 | * | kunev quit (Quit: leaving) |
| 16:56:36 | * | q66 joined #nimrod |
| 17:04:34 | * | brson joined #nimrod |
| 17:08:53 | * | Matthias247 joined #nimrod |
| 17:17:42 | * | Araq_bnc is now known as Araq |
| 17:38:37 | * | boydgreenfield joined #nimrod |
| 17:42:50 | * | ics joined #nimrod |
| 17:47:46 | * | lorxu joined #nimrod |
| 17:47:51 | lorxu | Hi |
| 17:48:25 | lorxu | Im tring to create a lib and load |
| 17:48:45 | lorxu | I got this: |
| 17:49:45 | lorxu | proc callme(s: string) {.exportc.} = echo s |
| 17:50:22 | lorxu | Compiled with nimrod c --app:lib |
| 17:51:01 | lorxu | Load the DLL with loadlib |
| 17:51:33 | lorxu | And sym with: |
| 17:53:07 | lorxu | var p = cast[proc (s: string){.stdcall.}](symaddr(ll, "callme")) |
| 17:53:20 | lorxu | But p still nil |
| 17:59:36 | flyx | well did you check the exported symbols of the lib binary? |
| 18:00:18 | Araq | you should use .dynlib, importc: "callme" instead of loadlib |
| 18:00:34 | Araq | loadlib is only necessary in rare cases |
| 18:01:03 | flyx | also, stdcall seems out of place as you're loading your own library. |
| 18:01:10 | lorxu | flyx: I'm doing that right now and callme is not there |
| 18:01:50 | flyx | try adding a "*" to the callme declaration. |
| 18:02:52 | * | wan quit (Quit: WeeChat 0.4.3) |
| 18:02:54 | lorxu | flyx: didn't work |
| 18:03:34 | lorxu | Araq: I want to load library on runtime |
| 18:04:36 | flyx | hum. maybe change string to cstring? |
| 18:06:39 | Araq | lorxu: well you need to use .exportc, dynlib |
| 18:06:50 | Araq | otherwise it's not exported in the dll |
| 18:07:04 | Araq | you can check that with some DLL viewer btw |
| 18:07:23 | lorxu | Thanks |
| 18:07:30 | lorxu | Now work |
| 18:08:08 | * | utkan joined #nimrod |
| 18:09:06 | lorxu | Araq: thanks |
| 18:09:06 | flyx | that's interesting, it doesn't work for me with exportc, dynlib |
| 18:09:19 | lorxu | flyx: thanks |
| 18:10:29 | * | Jesin quit (Quit: Leaving) |
| 18:11:21 | flyx | lorxu: can you paste your exact code and command line of the lib? |
| 18:11:44 | * | lorxu quit (Read error: Connection reset by peer) |
| 18:11:53 | * | lorxu joined #nimrod |
| 18:12:49 | * | utkan_ joined #nimrod |
| 18:13:37 | flyx | ah wait, it *does* work, I just didn't see it |
| 18:13:50 | lorxu | proc callme(s: cstring) {.exportc, dynlib.} = echo s |
| 18:14:18 | lorxu | Nice |
| 18:16:11 | * | utkan quit (Ping timeout: 264 seconds) |
| 18:16:45 | * | utkan__ joined #nimrod |
| 18:17:51 | flyx | nimrod misses a bunch of tutorials, like „how to do/use X in nimrod“. the existing documentation is useful, but kind of spartan. |
| 18:18:01 | * | Jesin joined #nimrod |
| 18:18:44 | * | utkan_ quit (Ping timeout: 252 seconds) |
| 18:20:11 | Araq | flyx: be my guest and write some docs |
| 18:23:21 | flyx | Araq: I could, but I'm unsure where to start |
| 18:23:49 | Araq | "How to build DLLs with Nimrod" |
| 18:24:06 | Araq | a) DLLs that are supposed to be used from other Nimrod code |
| 18:24:21 | flyx | someone hosts this nimrod-by-example things if I remember correctly |
| 18:24:22 | Araq | b) DLLs that work with any language, aka DLLs that expose a C interface |
| 18:24:36 | lorxu | :) I could help you |
| 18:24:44 | Araq | c) platform specific notes (calling conventions on Windows) |
| 18:28:21 | flyx | Araq: I'm worrying about the setup, but I think static site generation with github will work fine, it even supports nimrod syntax highlighting |
| 18:28:59 | EXetoC | https://github.com/flaviut/nimrod-by-example |
| 18:29:54 | dom96 | hi people |
| 18:30:48 | EXetoC | dom69 sup |
| 18:32:28 | lorxu | Hi dom96 |
| 18:33:12 | Araq | flyx: I prefer some reST document that we then include in the static docs |
| 18:33:23 | dom96 | Why do people keep cloning master? https://github.com/Araq/Nimrod/issues/1335 |
| 18:33:26 | Araq | but a wiki page is ok too |
| 18:33:37 | Araq | dom96: because we tell them to do that |
| 18:33:45 | flyx | Araq: I am used to Markdown, but I guess reST isn't much different |
| 18:33:58 | Araq | no, it's totally different |
| 18:33:59 | dom96 | Araq: where? |
| 18:34:07 | Araq | Markdown is cool, reST is meh |
| 18:34:16 | dom96 | oh on the website. |
| 18:34:18 | dom96 | God damn it. |
| 18:34:20 | Araq | they share lots of syntax though ... :P |
| 18:34:48 | Araq | dom96: well you know ... building from master should simply work |
| 18:35:39 | Araq | also ... making aporia dependent on the devel version of json wasn't the best idea either |
| 18:36:01 | dom96 | Not Aporia, babel. |
| 18:36:12 | Araq | ah yeah, typo |
| 18:36:16 | dom96 | Well... you said a new release would happen. |
| 18:36:48 | Araq | well ... I'm fixing VM bugs |
| 18:37:21 | flyx | Araq: Markdown would be okay then? it's easier to push on a github page |
| 18:37:38 | dom96 | I guess we need a devel branch on the C sources repo then... |
| 18:37:56 | dom96 | or actually |
| 18:37:57 | Araq | dom96: no, we should backport stuff to master |
| 18:38:08 | dom96 | NimBuild should take care of that |
| 18:41:59 | * | lorxu quit (Read error: Connection reset by peer) |
| 18:42:11 | * | lorxu joined #nimrod |
| 18:43:32 | * | Trustable quit (Ping timeout: 264 seconds) |
| 18:55:21 | * | Trustable joined #nimrod |
| 18:55:36 | * | flaviu quit (Ping timeout: 260 seconds) |
| 18:56:04 | * | ics quit (Ping timeout: 260 seconds) |
| 18:57:34 | * | gsingh93_ joined #nimrod |
| 18:59:10 | * | ics joined #nimrod |
| 19:02:44 | * | flaviu joined #nimrod |
| 19:09:53 | * | noam joined #nimrod |
| 19:12:00 | * | brson quit (Ping timeout: 255 seconds) |
| 19:19:32 | * | AndChat|226100 joined #nimrod |
| 19:19:32 | * | lorxu quit (Read error: Connection reset by peer) |
| 19:22:09 | * | EXetoC quit (Quit: WeeChat 0.4.3) |
| 19:28:18 | * | ics quit (Ping timeout: 240 seconds) |
| 19:33:21 | * | Trustable1 joined #nimrod |
| 19:33:51 | * | ics joined #nimrod |
| 19:33:52 | * | Trustable quit (Ping timeout: 260 seconds) |
| 19:47:45 | * | aochagavia joined #nimrod |
| 19:50:11 | dom96 | hi aochagavia |
| 19:50:24 | aochagavia | hi |
| 19:51:29 | aochagavia | where can I find the code of the standard library? |
| 19:57:11 | * | aochagavia quit (Quit: Page closed) |
| 20:00:43 | * | brson joined #nimrod |
| 20:00:43 | * | AndChat|226100 quit (Read error: Connection reset by peer) |
| 20:00:59 | * | lorxu joined #nimrod |
| 20:01:27 | * | ics quit (Ping timeout: 245 seconds) |
| 20:01:57 | * | Skrylar quit (Ping timeout: 248 seconds) |
| 20:02:14 | * | Skrylar joined #nimrod |
| 20:02:26 | * | fl1pflop joined #nimrod |
| 20:05:43 | * | ics joined #nimrod |
| 20:09:13 | * | boydgreenfield quit (Quit: boydgreenfield) |
| 20:13:34 | fowl | flyx, well, you are writing good tests for the vm, testmaster |
| 20:26:36 | * | boydgreenfield joined #nimrod |
| 20:30:58 | * | lorxu quit (Read error: Connection reset by peer) |
| 20:31:01 | * | AndChat|226100 joined #nimrod |
| 20:34:38 | * | Mat3 joined #nimrod |
| 20:34:40 | Mat3 | hello |
| 20:34:52 | Skrylar | hi Mat3 |
| 20:35:06 | Mat3 | hi Skrylar |
| 20:35:46 | * | utkan__ is now known as utkan |
| 20:36:34 | * | lorxu joined #nimrod |
| 20:37:53 | Araq | hi Mat3 |
| 20:38:05 | * | boydgreenfield quit (Quit: boydgreenfield) |
| 20:39:49 | * | AndChat|226100 quit (Ping timeout: 248 seconds) |
| 20:40:02 | * | skyfex_ quit (Quit: Lingo - http://www.lingoirc.com) |
| 20:40:08 | * | Jesin quit (Ping timeout: 260 seconds) |
| 20:41:23 | * | lorxu quit (Ping timeout: 264 seconds) |
| 20:41:23 | * | utkan quit (Ping timeout: 264 seconds) |
| 20:43:42 | * | Johz joined #nimrod |
| 20:43:58 | Mat3 | hello Araq |
| 20:51:28 | * | ics quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
| 20:56:01 | * | boydgreenfield joined #nimrod |
| 21:00:57 | * | brson quit (Ping timeout: 256 seconds) |
| 21:03:01 | * | brson joined #nimrod |
| 21:07:04 | * | dLog_ joined #nimrod |
| 21:08:10 | * | dLog quit (Read error: Connection reset by peer) |
| 21:10:54 | Mat3 | ciao |
| 21:10:57 | * | Mat3 quit (Quit: Verlassend) |
| 21:14:34 | * | atlithorn joined #nimrod |
| 21:22:17 | * | Johz quit (Quit: Leaving) |
| 21:24:20 | * | fl1pflop quit (Quit: fl1pflop) |
| 21:27:08 | Araq | the question is ... will flyx be able to understand my VM patches and then I can work on something else instead ... :-) |
| 21:29:51 | Varriount | Araq: Depends, are you going to document your changes? |
| 21:30:07 | * | Varriount passes Araq a slice of Angel Cake |
| 21:30:19 | Araq | not the changes, that's rather pointless |
| 21:30:37 | Araq | but I'm keeping notes about the invariants etc. |
| 21:34:28 | Varriount | Araq: What issues are open that you think I can solve? |
| 21:35:29 | Araq | well I never got the PR that fixes 'high' for JS ... |
| 21:35:47 | atlithorn | forum down :( |
| 21:36:02 | Araq | again? |
| 21:36:19 | Varriount | Araq: I have it, however I think it might break other things. |
| 21:41:02 | Araq | Varriount: bug #542 is no codegen bug, but a system.nim bug |
| 21:41:12 | Araq | that was my last analysis at least |
| 21:41:25 | Araq | so it should be rather easy to fix |
| 21:44:25 | Araq | and fix #1328 but this might require to fix pragma handling first |
| 21:51:50 | * | flaviu quit (Remote host closed the connection) |
| 21:56:15 | Varriount | Araq: for bug #542, what kind of behavior should arrays have when given reversed bounds? |
| 22:03:05 | Araq | check at compile time that low(array) is not negative and then do the same as is done for seqs |
| 22:05:50 | Varriount | Araq: Using isStatic? |
| 22:06:38 | * | utkan joined #nimrod |
| 22:06:42 | Araq | when low(T) < 0: {.error: "use sane array bounds for this".} |
| 22:07:27 | Varriount | Are we abandoning negative indice support for arrays? |
| 22:07:46 | Araq | for slicing, yes. |
| 22:13:10 | * | brson quit (Ping timeout: 240 seconds) |
| 22:14:12 | * | lorxu joined #nimrod |
| 22:15:24 | * | nande joined #nimrod |
| 22:17:33 | * | utkan quit (Ping timeout: 240 seconds) |
| 22:38:44 | * | brson joined #nimrod |
| 22:42:29 | * | lorxu quit (Ping timeout: 248 seconds) |
| 22:42:29 | * | atlithorn quit (Quit: atlithorn) |
| 22:43:58 | * | brson quit (Ping timeout: 240 seconds) |
| 22:49:17 | * | Jesin joined #nimrod |
| 22:50:58 | * | atlithorn joined #nimrod |
| 22:57:11 | * | drs joined #nimrod |
| 22:57:51 | Araq | hi drs welcome |
| 22:58:15 | * | brson joined #nimrod |
| 23:00:32 | drs | thanks araq, i have a question about the csources and the different numbers like 1_1, 1_2, 2_1, 2_2 |
| 23:02:27 | drs | araq, i see in you commit to it, that 2_7 looks like a powerpc backend, but i think it's only for linux |
| 23:03:03 | Araq | the obfuscation is meant to prevent bug reports like "omg, it uses some files of Linux x86 for Linux powerpc" |
| 23:03:48 | Araq | if the C files end up being identical we remove duplicates to save space |
| 23:03:57 | * | darkf joined #nimrod |
| 23:04:06 | Araq | this used to work much more effectively |
| 23:04:51 | Araq | I don't know why it doesn't anymore, but with the planned C code generator changes it'll work much better again anyway |
| 23:05:52 | * | Matthias247 quit (Read error: Connection reset by peer) |
| 23:06:05 | Araq | does that answer your question? |
| 23:08:08 | drs | well, 2_6 is for linux/mips, and 2_7 is for linux/powerpc but why does the mips directory have so many more files? |
| 23:12:01 | drs | well, i'm trying to make a powerpc build for OpenBSD :) seems like i can just copy the 7_1 stuff to 7_3 and change some defines in platform.c |
| 23:12:11 | drs | and see what breaks :) |
| 23:18:48 | Araq | just regenerate it |
| 23:19:16 | drs | i'm not sure how to do that |
| 23:20:05 | * | superfunc joined #nimrod |
| 23:20:46 | * | Trustable1 quit (Quit: Leaving) |
| 23:22:04 | drs | how would i regenerate those csources ? |
| 23:23:16 | Araq | koch csources -d:release |
| 23:23:19 | Araq | I think |
| 23:23:59 | * | atlithorn quit (Quit: atlithorn) |
| 23:29:07 | * | atlithorn joined #nimrod |
| 23:36:20 | * | Varriount|Mobile joined #nimrod |
| 23:38:07 | drs | hmm, I think I have a bit of a chicken and egg problem then.. as I am trying to build koch |
| 23:38:27 | drs | can I cross compile? |
| 23:49:07 | Araq | sure |
| 23:49:25 | Araq | it's even documented |
| 23:55:43 | * | atlithorn quit (Quit: atlithorn) |