00:11:44 | * | wkoch1 quit (Quit: wkoch1) |
00:14:56 | * | wkoch joined #nimrod |
00:15:45 | * | wkoch quit (Client Quit) |
00:22:19 | Jehan_ | I'd just not include the git hash for the time being unless it's critical for something? |
00:38:21 | * | Jehan_ quit (Quit: Leaving) |
00:49:37 | * | q66 quit (Quit: Leaving) |
01:36:04 | * | TylerE quit (Ping timeout: 260 seconds) |
01:37:28 | * | clone1018 quit (Ping timeout: 260 seconds) |
01:38:04 | * | hguux quit (Ping timeout: 272 seconds) |
02:43:12 | * | francisl joined #nimrod |
03:03:32 | * | flaviu1 quit (Ping timeout: 245 seconds) |
03:24:51 | * | EXetoC quit (Ping timeout: 272 seconds) |
03:34:45 | * | EXetoC joined #nimrod |
03:38:26 | * | saml_ joined #nimrod |
04:30:35 | * | hguux joined #nimrod |
04:40:29 | * | TylerE joined #nimrod |
04:49:43 | * | clone1018 joined #nimrod |
04:51:04 | * | saml_ quit (Quit: Leaving) |
05:29:46 | * | nande quit (Remote host closed the connection) |
05:38:29 | * | rg4 quit (Quit: Leaving) |
05:39:38 | * | rg4 joined #nimrod |
05:45:21 | * | bjz_ quit (Read error: Connection reset by peer) |
05:45:44 | * | bjz joined #nimrod |
05:50:44 | * | darkf_ joined #nimrod |
05:52:44 | * | darkf quit (Ping timeout: 260 seconds) |
05:54:13 | * | Josh joined #nimrod |
05:54:37 | * | Josh is now known as Guest71742 |
05:59:38 | Guest71742 | Hi. Is there a way to cause the nimrod executable to generate the nimcache .c files but not pass them through the C compilation step? I want to add the generated files to another build system... |
06:03:22 | * | darkf_ is now known as darkf |
06:12:20 | * | francisl quit (Quit: francisl) |
06:16:39 | * | xenagi quit (Read error: Connection reset by peer) |
06:24:28 | * | johnsoft quit (Ping timeout: 260 seconds) |
06:25:08 | * | johnsoft joined #nimrod |
06:48:39 | * | johnsoft quit (Ping timeout: 246 seconds) |
06:49:14 | * | johnsoft joined #nimrod |
07:16:06 | fowl | Guest71742 the option is something like --genbuildscripts, try nimrod --advanced to see the full list of options |
07:25:20 | Araq | Guest71742: --compileOnly and optionally --genScript |
07:25:41 | Araq | --genScript produces broken scripts, but they are a good starting point |
07:25:44 | * | TylerE quit (K-Lined) |
07:25:44 | * | clone1018 quit (K-Lined) |
07:25:44 | * | hguux quit (K-Lined) |
07:25:45 | * | endou_____ quit (K-Lined) |
07:25:48 | * | CARAM quit (K-Lined) |
07:50:54 | * | banre joined #nimrod |
07:51:47 | banre | ##security |
07:51:58 | * | banre left #nimrod ("Leaving") |
08:14:47 | * | johnsoft quit (Ping timeout: 245 seconds) |
08:15:02 | * | johnsoft joined #nimrod |
08:32:43 | * | Matthias247 joined #nimrod |
08:49:11 | * | spectator joined #nimrod |
08:52:11 | * | spectator quit (Remote host closed the connection) |
08:53:58 | * | BlaXpirit joined #nimrod |
09:22:02 | * | xcombelle joined #nimrod |
10:14:07 | * | kuzy000_ joined #nimrod |
10:55:19 | * | flaviu1 joined #nimrod |
11:04:58 | * | Matthias247 quit (Read error: Connection reset by peer) |
11:09:07 | * | zahary joined #nimrod |
11:11:29 | * | q66 joined #nimrod |
11:38:32 | flaviu1 | "Marpa is overkill" Well, can your parser parse the expressions "foo ω[123] a" as "foo ω[123]; a"? ;) |
11:43:23 | * | darkf quit (Quit: Leaving) |
12:55:56 | Araq | flaviu1: yes. it's not hard. :P |
12:57:06 | flaviu1 | Well, ok. Did you have to worry about left and right recursion and how to transform them into different forms? |
12:57:11 | flaviu1 | Because I don't |
13:00:13 | Araq | left recursions are stupid to begin with, so no :P |
13:00:25 | flaviu1 | Here is a abridged version of my BNF: "Expression ::= Expression '*' Expression || Expression '+' Expression" |
13:01:26 | Araq | do you worry about precedences? 'cause you should |
13:01:30 | flaviu1 | Yep |
13:01:37 | Araq | ok, bbl |
13:01:41 | flaviu1 | The || operator does precedence |
13:06:30 | NimBot | Araq/Nimrod bigbreak 8930ba5 Araq [+1 ±3 -0]: 'let' within 'parallel' now works |
13:06:30 | NimBot | Araq/Nimrod bigbreak dfd7390 Araq [+0 ±2 -0]: added $* for subexes |
13:06:30 | NimBot | Araq/Nimrod bigbreak 1088814 Araq [+1 ±9 -0]: deepCopy is instantiated when its corresponding type is instantiated |
13:06:30 | NimBot | Araq/Nimrod bigbreak d576fbb Araq [+0 ±7 -0]: implemented locking levels; still incomplete |
13:09:39 | * | clone1018 joined #nimrod |
13:12:36 | * | enurlyx joined #nimrod |
13:21:14 | * | io2 joined #nimrod |
13:27:44 | * | untitaker quit (Ping timeout: 260 seconds) |
13:33:00 | * | untitaker joined #nimrod |
13:34:01 | * | saml_ joined #nimrod |
13:37:33 | * | vendethiel- joined #nimrod |
13:38:09 | * | vendethiel quit (Ping timeout: 246 seconds) |
13:40:23 | enurlyx | How can I pass a string to a function that accepts a ptr WCHAR ? |
13:41:16 | enurlyx | Change ptr WCHAR to WideCString and using newWideCString() ? |
13:42:35 | enurlyx | windows.nim WCHAR* = WideChar |
13:43:40 | enurlyx | WideChar* = uint16 |
13:52:14 | * | ARCADIVS joined #nimrod |
14:57:07 | * | Ven joined #nimrod |
15:01:46 | * | Sht0 quit (Ping timeout: 272 seconds) |
15:13:14 | * | Jehan_ joined #nimrod |
15:15:10 | * | saml_ quit (Quit: Leaving) |
15:16:29 | * | q66[lap] quit (Quit: Textual IRC Client: www.textualapp.com) |
15:17:26 | * | q66[lap] joined #nimrod |
15:18:54 | * | q66[lap] quit (Client Quit) |
15:19:26 | * | q66[lap] joined #nimrod |
15:34:40 | NimBot | nimrod-code/packages master 6936fe1 achesak [+0 ±1 -0]: Added epub and hashids. |
15:34:40 | NimBot | nimrod-code/packages master 02e103b Dominik Picheta [+0 ±1 -0]: Merge pull request #88 from achesak/master... 2 more lines |
15:36:03 | dom96 | !seen filwit |
15:36:03 | NimBot | filwit was last seen on Thu Sep 11 22:39:51 2014 quitting with message: Quit: Leaving |
15:51:25 | * | xcombelle quit (Remote host closed the connection) |
15:59:01 | * | Matthias247 joined #nimrod |
15:59:49 | NimBot | nimrod-code/babel master ee952e9 Dominik Picheta [+0 ±4 -0]: Case fixes. |
16:15:57 | NimBot | Araq/Nimrod bigbreak baae9bf Dominik Picheta [+0 ±2 -0]: s/sock/fd/. Fixes #1487. |
16:41:51 | * | Trustable joined #nimrod |
16:54:30 | * | Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
17:17:24 | * | francisl joined #nimrod |
17:17:37 | * | Ven joined #nimrod |
17:25:46 | * | francisl quit (Quit: francisl) |
17:31:01 | * | vezzy joined #nimrod |
17:31:07 | * | skroll1 quit (Ping timeout: 245 seconds) |
17:31:25 | * | skroll1 joined #nimrod |
17:31:32 | * | Francisco quit (Ping timeout: 245 seconds) |
17:31:32 | * | quasinoxen quit (Ping timeout: 245 seconds) |
17:37:40 | * | Trustable quit (*.net *.split) |
17:37:40 | * | zahary quit (*.net *.split) |
17:37:40 | * | rg4 quit (*.net *.split) |
17:37:40 | * | def- quit (*.net *.split) |
17:37:41 | * | woodgiraffe quit (*.net *.split) |
17:42:56 | flaviu1 | Interesting that comments are handled as part of the Nimrod syntax |
17:43:52 | flaviu1 | From what I can tell, they are usually stripped out along with whitespace during tokenization |
17:45:23 | * | Francisco joined #nimrod |
17:46:50 | * | Trustable joined #nimrod |
17:46:50 | * | zahary joined #nimrod |
17:46:50 | * | rg4 joined #nimrod |
17:46:50 | * | def- joined #nimrod |
17:46:50 | * | woodgiraffe joined #nimrod |
17:54:22 | Jehan_ | Comments are also part of the Eiffel syntax. |
17:57:43 | flaviu1 | Sure, but eiffel doesn't do stuff like <If Statement> ::= 'if' expr ':' comment? ... |
18:02:57 | flaviu1 | Another awesome thing about marpa: It lexes things as the grammer needs them. Say I have "val foo = 1", it tries to do "KEYWORD_VAL WORD(foo) EQUALS NUMBER(1)" because the val keyword has a higher priority than WORD(val) |
18:04:32 | flaviu1 | but with "proc val(a, b) = 123", it asks the parser if it'd prefer a KEYWORD(val) or a WORD(val) next. The parser tells the lexer what it wants, and bam, no keywords |
18:07:55 | fowl | what are you trying to parse |
18:08:47 | flaviu1 | Just inventing a language for fun. Jehan said that Marpa is overkill. |
18:09:08 | fowl | use glossolalia |
18:09:58 | flaviu1 | Sorry, but Marpa is so good that nothing can even compare |
18:10:47 | flaviu1 | I mean, look how simple this BNF is: https://gist.github.com/flaviut/8f8b66526e69fc8e5392 |
18:11:24 | flaviu1 | I haven't had to worry about left recursion, right recursion, weird methods of precedence, weird methods of associatvity... |
18:11:27 | Jehan_ | I'm not saying that it's overkill. I think that grammars that require a very smart parser make not for readable code. |
18:11:43 | fowl | omg |
18:11:53 | fowl | you just tricked me into looking at perl |
18:12:00 | fowl | thats a form of rape, flaviu1 |
18:12:07 | flaviu1 | lol |
18:12:12 | flaviu1 | I don't actually know perl |
18:12:42 | flaviu1 | I just try all the different sigils until I get something that works |
18:13:33 | flaviu1 | Anyway, I removed the perl |
18:13:50 | fowl | json parser with glossolalia https://github.com/fowlmouth/glossolalia/blob/master/src/parsers/xjson.nim#L16 |
18:15:42 | flaviu1 | Sorry, but the marpa version is much more readable: https://gist.github.com/pstuifzand/4447349 |
18:16:38 | fowl | thats it flaviu1 |
18:16:55 | fowl | rape me once shame on you, rape me twice, i'm calling the police |
18:17:31 | flaviu1 | Just ignore everything except the stuff between the "END_OF_SOURCE" |
18:24:34 | flaviu1 | How many LOC does it take to implement a parser that accepts all the malformed html that is out there? Marpa does it in 1500 ;) |
18:30:42 | fowl | nothing you can say beats the fact that you have to write perl |
18:31:15 | flaviu1 | I have to write perl *boilerplate*. Boilerplate I can copy from examples. |
18:31:22 | flaviu1 | 95% of the code will be BNF |
18:31:53 | fowl | have fun dude |
18:31:58 | * | vezzy is now known as baucheryde |
18:32:03 | flaviu1 | I am! :D |
18:32:53 | flaviu1 | Right now, I'm wondering if I can use ruby slippers to deal with indentation! |
18:33:16 | fowl | i dont even know what this channel is anymore |
18:33:20 | * | fowl left #nimrod (#nimrod) |
18:34:00 | flaviu1 | I didn't mean to scare him off :( |
18:35:08 | flaviu1 | I guess I should keep off-topic discussion out of here... |
18:35:44 | * | Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
18:36:23 | * | Ven joined #nimrod |
18:44:46 | * | Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
18:49:32 | * | Ven joined #nimrod |
19:50:21 | * | ARCADIVS quit (Quit: WeeChat 0.4.3) |
20:04:45 | * | io2 quit (Quit: ...take irc away, what are you? genius, billionaire, playboy, philanthropist) |
20:10:34 | Varriount | Araq: Anything that I can help with that will take a day to half a day? |
20:11:39 | Araq | hell yes |
20:11:48 | Araq | we can release |
20:13:18 | Varriount | Araq: Which branch/commit? latest devel? |
20:13:48 | Araq | devel will be Nimrod version 0.9.6 |
20:13:57 | Araq | bigbreak Nim version 0.10.0 |
20:14:30 | Varriount | Oh, so we're releasing two versions? |
20:16:33 | * | EXetoC quit (Read error: Connection reset by peer) |
20:16:57 | enurlyx | Araq: How can I pass a string to a function that accepts a ptr WCHAR ? (uint16) |
20:17:18 | Araq | enurlyx: fix windows.nim and make a PR |
20:17:26 | Araq | or even better don't use windows.nim |
20:17:28 | flaviu1 | enurlyx: Couldn't you cast? |
20:17:32 | Araq | we need to get rid of it |
20:17:36 | enurlyx | ? |
20:17:43 | Araq | oh yeah |
20:17:53 | Araq | ofc you can cast around it |
20:19:45 | enurlyx | this is about ASCII vs UNICODE. how to cast? |
20:20:19 | Varriount | enurlyx: Convert the string into a widechar string, and then cast the widechar string to a ptr wchar |
20:21:15 | enurlyx | Change ptr WCHAR to WideCString and using newWideCString() ? would this be correct? |
20:21:20 | flaviu1 | enurlyx: Looks like newWideCString deals with unicode |
20:21:51 | flaviu1 | At least there is some logic that mentions unicode |
20:22:12 | flaviu1 | Sure, that sounds good. |
20:23:01 | flaviu1 | WideCString is essentially a `ptr int16` |
20:24:13 | Varriount | Araq: I'm about to download the devel and bigbreak branches - do you need to make any final changes before I do so? |
20:25:42 | Araq | Varriount: :O |
20:26:06 | Varriount | Araq: To make the installers and such. |
20:26:10 | Araq | well I surely need this evening to get it into a reasonably clean state |
20:26:23 | Varriount | Araq: Ok, just tell me when. |
20:26:38 | Araq | no, you can already do things |
20:26:49 | Araq | for instance: docgen for bigbreak still doesn't work |
20:27:46 | Varriount | What's wrong with it? |
20:30:28 | Varriount | Araq: Also, did that git dependancy get fixed? |
20:31:50 | * | z3744614276842 joined #nimrod |
20:32:09 | * | vendethiel joined #nimrod |
20:32:21 | Araq | Varriount: well no |
20:32:25 | * | z3744624276842 quit (Write error: Broken pipe) |
20:32:25 | * | bjz quit (Excess Flood) |
20:33:00 | * | vendethiel- quit (Ping timeout: 256 seconds) |
20:33:08 | * | bjz joined #nimrod |
20:34:14 | Varriount | Araq: So.. I'll fix the git dependancy on devel, and rebase bigbreak then? |
20:35:31 | Araq | well |
20:35:54 | Araq | let's focus on releasing 0.9.6 for a start |
20:36:47 | Varriount | Araq: Ok, so what should I do? |
20:36:51 | Araq | and we need to do some random sample that checks how many Babel packages break with 0.9.6 |
20:37:03 | Araq | that's most important |
20:37:21 | Araq | btw I keep telling you guys this for weeks now |
20:37:37 | Araq | we need regression testing of babel packages |
20:38:45 | * | kuzy000_ quit (Ping timeout: 260 seconds) |
20:38:45 | * | rektide quit (Ping timeout: 260 seconds) |
20:38:57 | * | flaviu1 quit (Ping timeout: 260 seconds) |
20:39:03 | * | rektide joined #nimrod |
20:39:49 | * | kuzy000_ joined #nimrod |
20:40:08 | * | flaviu1 joined #nimrod |
20:41:34 | * | MightyJoe quit (Remote host closed the connection) |
20:44:07 | * | Shoozza_ quit (Excess Flood) |
20:44:19 | * | francisl joined #nimrod |
20:44:19 | * | MightyJoe joined #nimrod |
20:44:30 | * | Discoloda quit (Write error: Broken pipe) |
20:44:36 | * | Discoloda joined #nimrod |
20:45:13 | * | dom96 quit (Excess Flood) |
20:45:36 | * | Shoozza joined #nimrod |
20:47:41 | * | dom96 joined #nimrod |
20:48:01 | Varriount | dom96: Aw, you have a fancy ipv6 address. |
21:13:32 | flaviu1 | Araq: That is a good idea, but it can't be fully automated at this point in time. There is no standard testing mechanism. |
21:13:46 | flaviu1 | The test output is not standardized either |
21:15:20 | Araq | flaviu1: firstly, your comment makes no sense |
21:15:38 | Araq | we need to test that the compiler still *compiles* the babel package |
21:15:47 | Araq | not that its tests are still green |
21:15:54 | flaviu1 | Oh, my bad then |
21:16:07 | Araq | secondly, it's easy enough to come up with heuristics |
21:16:17 | Araq | to run whatever tests the babel package contains |
21:16:58 | Araq | but I'm not suggesting this |
21:17:33 | Varriount | Araq: Right now I'm just installing each package and compiling it, fixing the nimrod library when applicable |
21:18:23 | Araq | excellent! |
21:19:01 | Varriount | Araq: It will take a while. I can install all the package automatically, but I have to manually compile, test, and fix each one. |
21:20:16 | Varriount | Araq: Also, I can't really test beyond compiling the modules - some of them are wrappers to libraries I don't have, or can't even use (linux only packages, for example) |
21:21:52 | Araq | I know |
21:22:06 | Araq | btw I said "random sample" |
21:22:11 | Araq | not "all of them" |
21:22:25 | Araq | but hey, if it works for you :-) |
21:22:55 | Araq | oh and ensure this nimfrmt or whatever it's called still works please |
21:29:31 | Varriount | Araq: |
21:29:39 | Varriount | Araq: nimfrmt? |
21:29:42 | flaviu1 | strfmt |
21:29:54 | flaviu1 | Varriount: ^ |
21:54:09 | Jehan_ | I think it works with devel, but not with bigbreak. |
21:54:29 | Jehan_ | Capitalization issues in pegs.nim, as I recall. |
22:10:08 | * | enurlyx left #nimrod (#nimrod) |
22:12:14 | * | francisl quit (Quit: francisl) |
22:32:30 | Varriount | Who's in charge of the nakefile and argument_parser library? those need to get fixed |
22:34:40 | * | Francisco quit (Ping timeout: 260 seconds) |
22:34:50 | * | Francisco joined #nimrod |
22:38:25 | * | Varriount just wrote a batch script to help automate testing |
22:49:00 | * | flaviu1 is now known as flaviu |
22:50:05 | * | Trustable quit (Quit: Leaving) |
22:51:00 | * | kuzy000_ quit (Ping timeout: 260 seconds) |
22:57:25 | Araq | Varriount: fowl and gradha |
22:59:53 | * | Matthias247 quit (Read error: Connection reset by peer) |
23:02:56 | * | darkf joined #nimrod |
23:13:28 | Varriount | dom96: Babel won't compile under nim bigbreak |
23:14:07 | * | BlaXpirit quit (Quit: Quit Konversation) |
23:14:33 | * | dom96_ios joined #nimrod |
23:15:11 | dom96_ios | Varriount: i fixed that today. |
23:15:25 | dom96_ios | You sure it doesn't work? |
23:15:43 | Varriount | dom96_ios: Fairly sure. I'll check again. |
23:16:45 | dom96_ios | Make sure to pull babel. |
23:21:20 | * | dom96_ios quit (Ping timeout: 260 seconds) |
23:35:16 | * | Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
23:51:02 | Varriount | Araq: Ping |
23:52:04 | * | q66 quit (Remote host closed the connection) |