<< 27-09-2014 >>

00:11:44*wkoch1 quit (Quit: wkoch1)
00:14:56*wkoch joined #nimrod
00:15:45*wkoch quit (Client Quit)
00:22:19Jehan_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:38Guest71742Hi. 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:06fowlGuest71742 the option is something like --genbuildscripts, try nimrod --advanced to see the full list of options
07:25:20AraqGuest71742: --compileOnly and optionally --genScript
07:25:41Araq--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:47banre##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:32flaviu1"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:56Araqflaviu1: yes. it's not hard. :P
12:57:06flaviu1Well, ok. Did you have to worry about left and right recursion and how to transform them into different forms?
12:57:11flaviu1Because I don't
13:00:13Araqleft recursions are stupid to begin with, so no :P
13:00:25flaviu1Here is a abridged version of my BNF: "Expression ::= Expression '*' Expression || Expression '+' Expression"
13:01:26Araqdo you worry about precedences? 'cause you should
13:01:30flaviu1Yep
13:01:37Araqok, bbl
13:01:41flaviu1The || operator does precedence
13:06:30NimBotAraq/Nimrod bigbreak 8930ba5 Araq [+1 ±3 -0]: 'let' within 'parallel' now works
13:06:30NimBotAraq/Nimrod bigbreak dfd7390 Araq [+0 ±2 -0]: added $* for subexes
13:06:30NimBotAraq/Nimrod bigbreak 1088814 Araq [+1 ±9 -0]: deepCopy is instantiated when its corresponding type is instantiated
13:06:30NimBotAraq/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:23enurlyxHow can I pass a string to a function that accepts a ptr WCHAR ?
13:41:16enurlyxChange ptr WCHAR to WideCString and using newWideCString() ?
13:42:35enurlyxwindows.nim WCHAR* = WideChar
13:43:40enurlyxWideChar* = 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:40NimBotnimrod-code/packages master 6936fe1 achesak [+0 ±1 -0]: Added epub and hashids.
15:34:40NimBotnimrod-code/packages master 02e103b Dominik Picheta [+0 ±1 -0]: Merge pull request #88 from achesak/master... 2 more lines
15:36:03dom96!seen filwit
15:36:03NimBotfilwit 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:49NimBotnimrod-code/babel master ee952e9 Dominik Picheta [+0 ±4 -0]: Case fixes.
16:15:57NimBotAraq/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:56flaviu1Interesting that comments are handled as part of the Nimrod syntax
17:43:52flaviu1From 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:22Jehan_Comments are also part of the Eiffel syntax.
17:57:43flaviu1Sure, but eiffel doesn't do stuff like <If Statement> ::= 'if' expr ':' comment? ...
18:02:57flaviu1Another 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:32flaviu1but 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:55fowlwhat are you trying to parse
18:08:47flaviu1Just inventing a language for fun. Jehan said that Marpa is overkill.
18:09:08fowluse glossolalia
18:09:58flaviu1Sorry, but Marpa is so good that nothing can even compare
18:10:47flaviu1I mean, look how simple this BNF is: https://gist.github.com/flaviut/8f8b66526e69fc8e5392
18:11:24flaviu1I haven't had to worry about left recursion, right recursion, weird methods of precedence, weird methods of associatvity...
18:11:27Jehan_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:43fowlomg
18:11:53fowlyou just tricked me into looking at perl
18:12:00fowlthats a form of rape, flaviu1
18:12:07flaviu1lol
18:12:12flaviu1I don't actually know perl
18:12:42flaviu1I just try all the different sigils until I get something that works
18:13:33flaviu1Anyway, I removed the perl
18:13:50fowljson parser with glossolalia https://github.com/fowlmouth/glossolalia/blob/master/src/parsers/xjson.nim#L16
18:15:42flaviu1Sorry, but the marpa version is much more readable: https://gist.github.com/pstuifzand/4447349
18:16:38fowlthats it flaviu1
18:16:55fowlrape me once shame on you, rape me twice, i'm calling the police
18:17:31flaviu1Just ignore everything except the stuff between the "END_OF_SOURCE"
18:24:34flaviu1How 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:42fowlnothing you can say beats the fact that you have to write perl
18:31:15flaviu1I have to write perl *boilerplate*. Boilerplate I can copy from examples.
18:31:22flaviu195% of the code will be BNF
18:31:53fowlhave fun dude
18:31:58*vezzy is now known as baucheryde
18:32:03flaviu1I am! :D
18:32:53flaviu1Right now, I'm wondering if I can use ruby slippers to deal with indentation!
18:33:16fowli dont even know what this channel is anymore
18:33:20*fowl left #nimrod (#nimrod)
18:34:00flaviu1I didn't mean to scare him off :(
18:35:08flaviu1I 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:34VarriountAraq: Anything that I can help with that will take a day to half a day?
20:11:39Araqhell yes
20:11:48Araqwe can release
20:13:18VarriountAraq: Which branch/commit? latest devel?
20:13:48Araqdevel will be Nimrod version 0.9.6
20:13:57Araqbigbreak Nim version 0.10.0
20:14:30VarriountOh, so we're releasing two versions?
20:16:33*EXetoC quit (Read error: Connection reset by peer)
20:16:57enurlyxAraq: How can I pass a string to a function that accepts a ptr WCHAR ? (uint16)
20:17:18Araqenurlyx: fix windows.nim and make a PR
20:17:26Araqor even better don't use windows.nim
20:17:28flaviu1enurlyx: Couldn't you cast?
20:17:32Araqwe need to get rid of it
20:17:36enurlyx?
20:17:43Araqoh yeah
20:17:53Araqofc you can cast around it
20:19:45enurlyxthis is about ASCII vs UNICODE. how to cast?
20:20:19Varriountenurlyx: Convert the string into a widechar string, and then cast the widechar string to a ptr wchar
20:21:15enurlyxChange ptr WCHAR to WideCString and using newWideCString() ? would this be correct?
20:21:20flaviu1enurlyx: Looks like newWideCString deals with unicode
20:21:51flaviu1At least there is some logic that mentions unicode
20:22:12flaviu1Sure, that sounds good.
20:23:01flaviu1WideCString is essentially a `ptr int16`
20:24:13VarriountAraq: I'm about to download the devel and bigbreak branches - do you need to make any final changes before I do so?
20:25:42AraqVarriount: :O
20:26:06VarriountAraq: To make the installers and such.
20:26:10Araqwell I surely need this evening to get it into a reasonably clean state
20:26:23VarriountAraq: Ok, just tell me when.
20:26:38Araqno, you can already do things
20:26:49Araqfor instance: docgen for bigbreak still doesn't work
20:27:46VarriountWhat's wrong with it?
20:30:28VarriountAraq: Also, did that git dependancy get fixed?
20:31:50*z3744614276842 joined #nimrod
20:32:09*vendethiel joined #nimrod
20:32:21AraqVarriount: 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:14VarriountAraq: So.. I'll fix the git dependancy on devel, and rebase bigbreak then?
20:35:31Araqwell
20:35:54Araqlet's focus on releasing 0.9.6 for a start
20:36:47VarriountAraq: Ok, so what should I do?
20:36:51Araqand we need to do some random sample that checks how many Babel packages break with 0.9.6
20:37:03Araqthat's most important
20:37:21Araqbtw I keep telling you guys this for weeks now
20:37:37Araqwe 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:01Varriountdom96: Aw, you have a fancy ipv6 address.
21:13:32flaviu1Araq: 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:46flaviu1The test output is not standardized either
21:15:20Araqflaviu1: firstly, your comment makes no sense
21:15:38Araqwe need to test that the compiler still *compiles* the babel package
21:15:47Araqnot that its tests are still green
21:15:54flaviu1Oh, my bad then
21:16:07Araqsecondly, it's easy enough to come up with heuristics
21:16:17Araqto run whatever tests the babel package contains
21:16:58Araqbut I'm not suggesting this
21:17:33VarriountAraq: Right now I'm just installing each package and compiling it, fixing the nimrod library when applicable
21:18:23Araqexcellent!
21:19:01VarriountAraq: 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:16VarriountAraq: 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:52AraqI know
21:22:06Araqbtw I said "random sample"
21:22:11Araqnot "all of them"
21:22:25Araqbut hey, if it works for you :-)
21:22:55Araqoh and ensure this nimfrmt or whatever it's called still works please
21:29:31VarriountAraq:
21:29:39VarriountAraq: nimfrmt?
21:29:42flaviu1strfmt
21:29:54flaviu1Varriount: ^
21:54:09Jehan_I think it works with devel, but not with bigbreak.
21:54:29Jehan_Capitalization issues in pegs.nim, as I recall.
22:10:08*enurlyx left #nimrod (#nimrod)
22:12:14*francisl quit (Quit: francisl)
22:32:30VarriountWho'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:25AraqVarriount: fowl and gradha
22:59:53*Matthias247 quit (Read error: Connection reset by peer)
23:02:56*darkf joined #nimrod
23:13:28Varriountdom96: Babel won't compile under nim bigbreak
23:14:07*BlaXpirit quit (Quit: Quit Konversation)
23:14:33*dom96_ios joined #nimrod
23:15:11dom96_iosVarriount: i fixed that today.
23:15:25dom96_iosYou sure it doesn't work?
23:15:43Varriountdom96_ios: Fairly sure. I'll check again.
23:16:45dom96_iosMake 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:02VarriountAraq: Ping
23:52:04*q66 quit (Remote host closed the connection)