<< 27-12-2013 >>

00:00:09gradhaAraq: it's difficult to evaluate now how much is that a problem of the API or the lack of its documentation
00:00:50Araqwell it's inherent problem that you know the concrete syntax and then we have some mapping to some AST and some API
00:01:16Araqthat's the advantage of Lisp
00:01:58gradhaor its disadvantage
00:02:02Araqbut *shrug* I knew that when I created nimrod
00:02:46*io2 quit ()
00:02:48zahary1I should have my alternative grammar in few months
00:03:48gradhazahary1: you are late, it's 2013 the year of nimrod
00:04:02*zahary1 left #nimrod (#nimrod)
00:04:09*zahary1 joined #nimrod
00:05:17gradhazahary1: but then 2014 is the year of Aporia, so you can bring that grammer with a special aporia fork
00:05:42Araqwell my talk is out in 2014
00:05:49Araqand so is my drdobbs article
00:05:58Araqso 2014 will be the year of nimrod
00:06:40zahary1I'll just assume that 2010s will be the decade of Nimrod and I'll be safe
00:07:44gradha2015 will be then the year of the nimrod book
00:07:50gradhaand 2016 the year of nimrod, the movie
00:08:50*zahary1 left #nimrod (#nimrod)
00:09:00*zahary1 joined #nimrod
00:10:08Araqzahary1: well I still think "undo" in misguided if it doesn't even work for getID
00:10:30Araqwhat about a somewhat more declarative approach?
00:11:33Araqlike a builtin getID(typedesc|expr, dependency: FromModule|FromPhaseOfMoon): int ?
00:12:46*brson joined #nimrod
00:12:53zahary1well, obviously things like getID will ultimately become a library solutions - for the user it won't be different if he
00:13:01zahary1if he is using a built-in or a library
00:13:21Araqsure but getID is a very common use case
00:13:21zahary1but the undo approach is extensible with new types, while built-ins are not
00:13:55Araqwell it's not sound, so ... sure it's extensible :P
00:14:25Araqbut we don't need new types, we need counters and tables
00:14:28zahary1and in practice I think there are several ways to assign IDs (I already mentioned two of them with subways like alphabetic/chronological/by size/etc)
00:15:06zahary1why do you insist so strongly that it's not sound? with sets it's as sounds as it gets
00:16:03Araqno it's inherently unsound because undo is an open problem in computing and the solutions don't undo but instead store a full history to go back in time
00:17:05zahary1sure, general undo is an open-problem, but isolated undo is solved in every editing program
00:17:44Araqyes. the solution uses a full history.
00:18:15zahary1well, do you imagine that shared variables will get so much modifications that this will become unpractical?
00:19:11zahary1they are tool that should be used with care. and you still haven't proposed any workable alternative
00:19:49*brson quit (Ping timeout: 272 seconds)
00:23:03Araqwell your use cases look insane for me
00:24:13AraqI'd rather have that explicit mapping somewhere than some fragile build process and we haven't explored further possibilties to decentralize this mapping
00:26:29Araqfor instance you could go with a compromise where you give each subsystem some explicit build number and within a subsystem the IDs are generated
00:26:36zahary1define "insane". as I've said, I've already used similar methods in C++. what you call fragile build process generally consists of no more than a page of code and people are much more likely to forget to add something to a list than a computer
00:26:39gradhaAraq: how can you undo without history? the pattern I know is you have a history of undo nodes, and each undoes the previous change
00:28:38zahary1we used decentralized manually maintained lists initially - you could do this will C++ macros
00:28:39zahary1#define FOO_MESSAGES(_) \
00:28:39zahary1 _(BAR) \
00:28:39zahary1 _(BAZ)
00:28:39zahary1#define ALL_MESSAGES \
00:28:39zahary1 FOO_MESSAGES \
00:28:40zahary1 ANOTHER_MESSAGES
00:28:40BitPuffindom96: pong
00:29:03zahary1people complained so the automatic solution was developed
00:29:36Araqgradha: well instead of "undo nodes" you can try to keep the mutating operations in a list then then apply the "opposite" mutating op
00:29:52Araqso inc becomes dec, incl becomes excl etc.
00:30:00gradhaAraq: errr.. isn't that what I've described? I've implemented undos like that, for a 3d editor
00:30:13gradhaI also believe vim uses such undo
00:31:00Araqeditor: "make this rectangle black"
00:31:04gradhaif you mean programmers are lazy and store a snapshot of the current document, well, that's inevitable
00:31:04Araqeditor: "undo"
00:31:32Araqto undo my example you need to store what the rectangle originally contained
00:31:44Araqyou can't "undo" the black op
00:31:53Araqas there is no "undo"
00:32:19Araqa proper "undo" would be to paint it white, if you get what I mean
00:32:35zahary1and Araq, if you are skeptical of generative programming, why build nimrod in the first place?
00:32:55Araqnow that's your argument for everything, zahary1 :P
00:33:13gradhaAraq: sorry, I don't see a difference between draing a black rectangle and drawing a "previously saved brush", the first case is of a very boring brush
00:33:51gradhaAraq: you could argue that better with filters, but then, aren't all destructive oparations impossible to undo by your definition?
00:34:09gradhalike, how to revert a gaussian blur when the information is lost
00:34:30Araqthe argument that keeps pushing the complexity to levels that make me depressed
00:36:47Araqgradha: well yes
00:36:58zahary1well, I like generative programming and that's the main reason I'm building nimrod - I believe that it will enable libraries that are more optimal and easy to use than anything out there - these libraries will be written by experts, but will be easy to use by everyone
00:36:59Araqwhat's your question again?
00:37:38gradhaI don't understand the term "full history" compared to "partial history"?
00:38:54gradhaor what exactly is the alternative to "full history" undoes
00:39:21gradhaby full I understood you keep all undo operations, while partial you keep only the last few to avoid running out of ram
00:39:56gradhagood night, honey badgers
00:40:01*gradha quit (Quit: bbl, need to watch http://www.youtube.com/watch?v=dEf4PJZXBxA again)
00:46:17dom96BitPuffin: sup
00:46:26BitPuffindom96: thinking about my code
00:46:38BitPuffinI am refactoring my code
00:46:42BitPuffinbut now I'm thinking
00:46:58BitPuffinmaybe I should make the shared code a private babel package
00:47:03BitPuffinbut that seems like ze painz
00:47:11dom96is this your game?
00:47:30BitPuffindom96: no website
00:47:36BitPuffin(s=
00:47:37BitPuffin)
00:47:39BitPuffin*
00:47:48dom96then it should be easy
00:47:52BitPuffinbasically I am splitting up some code into reusable modules
00:48:04dom96you can specify a url now
00:48:18BitPuffinlike user signup, group functionality, blog etc
00:48:32BitPuffinand then I write glue code and views around that
00:48:36BitPuffinfor my personal stuff
00:48:47BitPuffinbecause fuck no am I gonna make it usable enough for everybody else
00:48:55BitPuffinanyhow
00:49:05dom96heh
00:49:07BitPuffinmaking it a babel package feels like it might be overkill
00:49:19BitPuffinhowever I could do some cool stuff with it I guess
00:49:47BitPuffinLike saying that the blog and group functionality depends on the user functionality
00:49:56BitPuffinbut it seems like a pain to maintain that many babel packages lol
00:50:44BitPuffinand in the end, since babel is not used as a build system and doesn't provide the nake like functionality I can't use it to say I wanna run this app now and it would automatically install deps or something
00:51:01BitPuffinI guess babel build would work
00:51:16BitPuffinhmm
00:52:05dom96Does sound like a bit of an overkill heh
00:52:23BitPuffinyeah for this small stuff indeed
00:52:34BitPuffinhowever it does otherwise impose a problem
00:52:41BitPuffinsay I have
00:52:48BitPuffinapp/, app2/, shared/
00:52:54BitPuffinin app/app.nim
00:53:02BitPuffinI would somehow need to import stuff in shared
00:53:12BitPuffinso I would have to add a funky path thing shit
00:53:23BitPuffinknowatI'msayin?
00:55:01BitPuffinguess it's not horrible
00:55:06BitPuffinbut feels tacky
00:55:39dom96not really
00:55:42fowlno
00:56:05fowlmodules in private/ can import private/othermodules fine
00:56:46BitPuffinfowl: well yeah but I didn't mean babel with last example
00:57:04dom96yes, but they should import it with a fully qualified path: pkgname/private/modulename
00:57:54BitPuffindom96: well if app/app.nim is compiled in app/ then you would basically have to specify the full path on the system
00:57:56BitPuffinso yay
00:58:03BitPuffinbecause nimrod hates relative imports
00:58:17BitPuffinanyways I'll just put an app.nimrod.cfg in app/
00:58:31BitPuffinwhich adds ../components to das pas
00:58:48dom96You would need to be a bit more specific about what you want to do.
00:58:58BitPuffinI am quite specific
00:59:14dom96well then i'm probably just too tired
00:59:42BitPuffinyep
00:59:50BitPuffinand you won't come up with a different solution
00:59:55BitPuffinpretty sure these are the ones
01:01:40dom96hrm. indeed. fowl suggested what I would suggest.
01:03:08BitPuffinwhat fowl said doesn't even make sense with what I said
01:03:54dom96you would put stuff in shared in pkgname/private/shared and then in app.nim import pkgname/private/shared/blah
01:04:31BitPuffinand app.nim would be where?
01:04:47dom96anywhere in pkgname/
01:05:07dom96depending on whether you want to expose it or not
01:05:07BitPuffinbut this requires babel right
01:05:15dom96yes
01:05:28BitPuffinwhich I am not doing
01:07:10fowlare you sure that app/ app2/ shared/ setup doesnt work?
01:07:19fowlie did you try it
01:08:27BitPuffinfowl: I currently am
01:08:32BitPuffinfowl: and of course it works
01:08:40BitPuffinjust that it feels funny to add ../shared tot he path in app
01:08:43BitPuffinar app2
01:09:14EXetoCaren't they in the same dir? if so, add the root dir
01:09:53BitPuffinno app and app2 have their main files in their respective directory
01:10:09BitPuffinbut they use code from shared (or actually "components") which is in the parant dir
01:12:32EXetoCI don't see anything wrong with adding paths
01:13:13EXetoCbut can't you import relatively like so: import "../bla"?
01:14:01EXetoCundocumented feature I think
01:14:07BitPuffinugh
01:14:23BitPuffinhow is things in components gonna be able to import each other now
01:14:42BitPuffinor wait
01:14:45BitPuffinI guess it would work
01:14:53EXetoCshared/...?
01:15:07BitPuffinshh
01:15:20EXetoClöl
01:18:33EXetoCunrelated pro tip: import="src/common"
01:20:13*DAddYE_ quit (Remote host closed the connection)
01:20:48*DAddYE joined #nimrod
01:20:59BitPuffinEXetoC: w00t
01:22:20EXetoCBitPuffin: automatic import for all project modules (--import)
01:23:27BitPuffinEXetoC: project?
01:23:35BitPuffinit's a cool tip
01:23:40BitPuffinnot related though like you said
01:23:57BitPuffinalbeit dumb to use
01:24:12BitPuffinbecause who's gonna look in the .cfg file for a global import
01:25:00*DAddYE quit (Ping timeout: 245 seconds)
01:30:32BitPuffingod damn it
01:31:00BitPuffinI had some kind of a revelation on what I should put where and that it would be nice to follow it strictly but because it is late I completely forgot what it was
01:31:01BitPuffingrr
01:31:04EXetoCpeople who know about configs maybe. I don't mind having a single implicit import
01:31:17BitPuffinEXetoC: well meh
01:32:02BitPuffinI think this might be a sign that it is time to sleep
01:32:04BitPuffingoodnight guys
01:35:20EXetoCbye
01:36:57BitPuffinlast thing, dom96 my ts client is yelling at me to tell you that you need to update the ts server
01:37:08BitPuffingood opportunity to switch to mumble wait wait
01:37:09BitPuffinnight!
01:37:11BitPuffincheers!
01:37:29dom96nevar
02:09:56*q66 quit (Ping timeout: 246 seconds)
02:20:09Varriount_Meep
02:20:13*Varriount_ is now known as Varriount
02:20:23OrionPKMhola variount
02:20:47VarriountHey OrionPKM.
02:32:32VarriountOrionPKM, find a good way to get the project name?
02:32:48OrionPKMnot a *good* way, but a way that appears to work.
02:32:58OrionPKMa menu option in the side-bar would be nice though
02:33:15VarriountHuh?
02:33:17OrionPKMnow you have to go thru quick commands, "set project file"
02:33:31OrionPKMit parses & serializes the project file
02:41:13OrionPKMhow is the scope stuff
02:43:48VarriountHaven't gotten much done. I'm wondering how I'm going to capture the body.
02:45:04OrionPKMhmm. capturing the parameters should be easy enough
02:45:08OrionPKMright?
02:45:17VarriountYeah, but the body, not so much
02:46:00OrionPKMwhat do you want to do that fur
02:46:25VarriountTo give the body a scope?
02:48:33VarriountOrionPKM, what about the method used in that github repo you showed me?
02:48:49OrionPKMthats what i used
02:48:55VarriountAh
02:49:19OrionPKMit'd be nice just to be able to use @ to look up proc
02:49:48VarriountHuh?
02:49:58OrionPKMlook up *on* procs
02:51:27OrionPKMctrl+r
02:53:20VarriountOrionPKM, and what do you need for that to work?
02:53:37OrionPKMno idea
02:53:46OrionPKMfigured you would know
02:53:52OrionPKMscopes? :P
02:54:08VarriountMaybe?
02:57:43*OrionPK joined #nimrod
03:00:48*DAddYE joined #nimrod
03:04:35*OrionPK quit (Read error: Connection reset by peer)
03:23:08gcrIs there a nice way to have a pragma that passes -lm to the compiler without any special flags to "nimrod c" ?
03:23:49gcrI have a self-contained .c file that I need to include into my source, so I'm saying {.compile: "noise.c".}, then defining all of its functions with {.importc.}, but it needs libm
03:25:45Varriountgcr, I'm looking through the manual. Off the top of my head, I think that's something that would go in the configuration file, or possibly the nake file, for whatever nimrod file you are compiling.
03:26:30Varriountgcr, also, libm?
03:28:26VarriountAh, here we go. gcr, look at this page, around this section -> http://nimrod-lang.org/nimrodc.html#compile-pragma
03:29:22gcryeah, -lm for math, floor, sinf, etc
03:29:24gcrhm!
03:29:44gcri could just ask for {.link: "/usr/lib/libm.a".}
03:30:36VarriountI wouldn't know. A: I run Windows, not linux, and B: I haven't ever needed to specifically specify -l in anything I've compiled in nimrod.
03:31:15gcrok, thanks for your help
03:31:48Varriountgcr, however, I think your best bet is to use a project configuration file.
03:31:56gcrit's weird because if i compile something that depends on the 'sets' module, -lm is passed in the compiler flags
03:32:01gcrHm
03:33:12gcrAha! {.passl: "-lm".}
03:33:17gcrthat's from system/math.nim
03:33:19Varriountwhen defined(Posix) and not defined(haiku):
03:33:19Varriount {.passl: "-lm".}
03:33:28VarriountOh, :p
03:34:19Varriountgcr, just make sure that you keep windows users in mind. :P
03:34:29gcrtrue, maybe just "import math" is good enough
03:34:32gcrThanks, varriount
03:41:47OrionPKMvarriount cant you look at the python plugin to figure out how it does the scopes
03:42:03VarriountOrionPKM, I'm doing that right now. :P
03:42:40VarriountI'm actually borrowing and modifying the python scope selectors for nimrod procedures.
03:43:00OrionPKMheh
03:43:05OrionPKMcool
03:48:52VarriountI don't think I'm going to get much done tonight. Not with lack of sleep and loud movies playing two rooms away.
03:49:30OrionPKMtwo whole rooms?
04:02:47*brson joined #nimrod
04:12:44*OrionPK joined #nimrod
04:13:30*OrionPK quit (Client Quit)
04:14:17*OrionPK joined #nimrod
04:16:07*OrionPK quit (Client Quit)
04:24:34*darkf_ joined #nimrod
04:29:18*darkf quit (Read error: Connection reset by peer)
04:29:21*Icefoz quit (Ping timeout: 240 seconds)
04:29:42VarriountOrionPKM, without doors
04:30:02OrionPKMah
04:30:19VarriountAnd in one instance, walls
04:31:07VarriountThat is, two rooms don't have a wall dividing them.
04:32:41*Icefoz joined #nimrod
04:43:41*darkf_ is now known as darkf
04:47:41*OrionPKM quit (Remote host closed the connection)
04:51:29*OrionPK joined #nimrod
04:52:00OrionPKah there we go
04:54:06fowlahoy
04:56:13VarriountHey fowl.
05:03:56VarriountGah. Save me from API designers and their lack of consideration. It's going to be... interesting to see how fsmonitor.nim can be implemented on windows.
05:09:22*xenagi joined #nimrod
05:12:24*brson quit (Quit: leaving)
05:13:30fowlmaybe there's a windows library with inotify's api
05:15:07VarriountPossibly, but Araq doesn't want dependancies unless absolutely necessary
06:04:59*Roin quit (Ping timeout: 272 seconds)
06:06:07*gcr quit (Remote host closed the connection)
06:06:15*OrionPK quit (Ping timeout: 272 seconds)
06:07:25*Roin joined #nimrod
06:29:34*xenagi quit (Remote host closed the connection)
06:56:27*ics quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
07:10:04*BitPuffin quit (Ping timeout: 246 seconds)
07:11:53*Varriount quit (Read error: Connection reset by peer)
07:12:20*Varriount joined #nimrod
07:16:22*Roin quit (Ping timeout: 246 seconds)
07:23:50*ics joined #nimrod
07:29:08*Roin joined #nimrod
07:42:41*Roin quit (*.net *.split)
07:45:19*Demos_ quit (Ping timeout: 272 seconds)
07:50:05*Roin joined #nimrod
08:28:28*zielmicha1 quit (Read error: Operation timed out)
08:44:12*zielmicha joined #nimrod
08:52:43*gradha joined #nimrod
09:18:01gradhaI'm looking at docgen's initTokRender, which works like the highlite module, is there any way I can parse the code to get an AST similar to a macro? I want to extract the types of proc params without reinventing the wheel
09:23:02*Roin quit (Ping timeout: 240 seconds)
09:23:50*Roin joined #nimrod
09:29:59gradhaError: 'parseExpr' can only be used in compile-time context
09:39:54fowlgradha, because it returns a pnimrodnode
09:45:28gradhamaybe I should copy/paste the procs into a nim file and use idetools on them
10:06:08*ics quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
10:12:57*girvo joined #nimrod
10:18:09*girvo quit (Remote host closed the connection)
10:43:55*q66 joined #nimrod
10:52:47*aftershave quit (Quit: Textual IRC Client: www.textualapp.com)
10:53:08*aftershave joined #nimrod
11:05:50*girvo joined #nimrod
11:06:01girvohey all, happy holidays
11:06:16gradhahappy holidays, for those not working
11:10:23*girvo quit (Quit: leaving)
11:21:09*psquid quit (Ping timeout: 248 seconds)
11:54:41dom96hello
11:54:47gradhahi
12:08:54*zielmicha-cloud quit (Quit: Connection closed for inactivity)
13:07:45*darkf quit (Quit: Leaving)
14:52:54*Icefoz quit (Quit: leaving)
14:53:03*Icefoz joined #nimrod
15:26:59*OrionPK joined #nimrod
15:35:50NimBotAraq/Nimrod devel 09be7ea Araq [+0 ±88 -0]: case consistency part 1
15:35:50NimBotAraq/Nimrod devel cbe7392 Araq [+0 ±9 -0]: case consistency part 2
15:47:24*gradha_ joined #nimrod
15:49:43*gradha quit (Ping timeout: 245 seconds)
16:20:36*achim joined #nimrod
16:30:32*achim quit (Quit: Computer has gone to sleep.)
16:39:08*Demos_ joined #nimrod
16:49:11*achim joined #nimrod
17:04:11*achim quit (Quit: Computer has gone to sleep.)
17:17:35*DAddYE quit (Remote host closed the connection)
17:18:02*DAddYE joined #nimrod
17:22:35*DAddYE quit (Ping timeout: 252 seconds)
17:56:21*DAddYE joined #nimrod
18:20:41*zielmicha-cloud joined #nimrod
19:09:25OrionPKis there a way to produce an expression/statement with a macro that can be directly assigned
19:09:41OrionPKi.e. var someField = someMacro()
19:10:43gradha_yesterday I posted this, seems to be what you want https://gist.github.com/gradha/8140318
19:15:06OrionPKahh, just needed to return an expr
19:15:08OrionPKinstead of a stmt
19:15:09OrionPKthanks
19:32:37*achim joined #nimrod
19:33:59Araqgradha_: since you know about these things ... do you feel like giving a try to convert my slides to PDF?
19:34:44*ics joined #nimrod
19:35:43gradha_how am I meant to convert them?
19:35:52*achim quit (Client Quit)
19:36:19OrionPKwkhtml2pdf
19:36:36Araqwell I give you source and you can play with it
19:36:37gradha_OrionPK: did a cat jump over your keyboard?
19:36:44gradha_Araq: sounds legit
19:37:10OrionPKit's a PDF converter
19:38:10gradha_I've only made slides once, through asciidoc + slidy, I think yours were in a similar fashion
19:39:55*BitPuffin joined #nimrod
19:40:05*ics quit (Ping timeout: 252 seconds)
19:40:33Araqyup, I used nimrod's rst2html and slidy
19:41:02Araqbut I tried latex beamer before
19:41:20Araqdecided to never ever use it again :P
19:42:08gradha_people were complaining about slidy not being mobile, maybe the raw html would be enough for those? you know, without js and stuff
19:44:31Araqraw html means no slides?
19:44:43Araqjust a long text?
19:44:48*ics joined #nimrod
19:45:02gradha_I guess it means splitting into html pages and clicking "next"
19:45:16Araqthinking about it ...
19:45:22AraqI disabled left click
19:45:28AraqXD
19:45:34Araqthat could be the cause
19:45:43gradha_sounds problematic
19:45:50Araqbut *shrug* I optimized the presentation for the presentator
19:53:34gradha_what's wrong with these companies who give us free stuff? bitbucket doesn't allow animated gifs for avatars either
19:54:25gradha_oh, and they tease me with an animated preview window so I can crop the gif
20:18:19gradha_Araq: do you have any special trick for https://github.com/Araq/Nimrod/pull/781 to parse parameter types without having to reimplement the compiler? Can't use macros.parseExpr
20:19:26Araqhaven't looked yet at your commits, sorrry
20:19:45Araqwhat's your problem again? parser.parseExpr exists when you're in the compiler
20:20:10gradha_I want that for docgen at runtime
20:20:25gradha_so I can feed it a line of proc definition and returns me the ast
20:20:58gradha_hmm... or maybe move docgen to compile time with FFI
20:22:13Araqwhat's the problem?
20:22:28gradha_the problem is I'm lazy
20:22:32Araqthat you're in docutils, not in compiler?
20:22:45gradha_I want to make unique hrefs for documentation
20:22:53gradha_but you can't because of overloading
20:23:20gradha_to make that unique, I need to parse parameters/types, so I was hoping parseExpr would give me the ast to avoid myself the pain of parsing
20:23:40gradha_but docgen can't use parseExpr at runtime
20:23:55gradha_hmm... maybe I should look up the repl code
20:24:17gradha_so right now I'm generating numbered links when there's a symbol name collision
20:25:07*brson joined #nimrod
20:26:59Araqwhy do you remove the "last" pragma? (whatever that is?)
20:27:23gradha_that's for the toc, when you hover over items, it's not very useful information
20:27:47gradha_the toc only needs enough info to differentiate type overloads, so I cut everything else
20:30:05Araqwell you PR is not acceptable, sorry
20:30:28Araqthe good news is that it's all way easier to do
20:33:22Araqfor instance, if you don't want to render pragmas, add that to the 'initTokRender'
20:33:44gradha_I know, I just don't want the last one
20:34:08Araqthen add that feature to the token renderer
20:34:55Araqextract the 'while true' loop to a proc and call that twice, once for the header, once for the link
20:35:21Araqor something like that
20:39:35Araqyou can also call renderTree on a parameter list
20:39:47Araqno need to re-parse anything
20:40:08Araqn[paramsPos] contains the parameter list if n.kind == nkProcDef etc.
20:40:52gradha_that's a relief
20:41:05gradha_bbl
20:59:00*BitPuffin quit (Quit: WeeChat 0.4.2)
21:06:54*brson quit (Quit: leaving)
21:58:04*BitPuffin joined #nimrod
22:40:28dom96BitPuffin: yo
22:42:07*achim joined #nimrod
22:45:22*achim quit (Client Quit)
22:46:57*psquid joined #nimrod
22:47:06*psquid quit (Changing host)
22:47:06*psquid joined #nimrod
22:49:35*brihat joined #nimrod
22:49:50*brihat left #nimrod (#nimrod)
22:56:43*Demos_ quit (Read error: Connection reset by peer)
23:07:25*darkf joined #nimrod
23:19:00gradha_good night, honey badgers
23:19:05*gradha_ quit (Quit: bbl, need to watch http://www.youtube.com/watch?v=dEf4PJZXBxA again)
23:25:24*OnionPK joined #nimrod
23:25:50*brihat joined #nimrod
23:25:51*brihat left #nimrod (#nimrod)
23:28:20*fowl quit (Ping timeout: 252 seconds)
23:28:25*fowlmouth joined #nimrod
23:31:23*shodan45 quit (Ping timeout: 245 seconds)
23:33:41*fowlmouth is now known as fowl
23:51:04*Demos joined #nimrod
23:52:16Demoshow in the name of god do nimrod's tests work? trying to add tests for my small addition to algorithms
23:56:13Araqwell there is tests/tester
23:56:23Araqthat runs the excessive test suite
23:56:26Demosso I add a file to test/run
23:56:37Demoslike tests/run/tfoo.nim
23:56:44Araqyeah
23:56:58Demosand in it I have a discard block at the top saying what expected output is
23:57:04Araqyeah
23:57:05Demosthen I run koch tests
23:57:11Demosand that file does not get compiled
23:57:30Araqwell it should
23:57:39Araqbut koch tests runs all the tests
23:57:45Araqso it takes a while
23:58:03DemosI did not see an error, does it get its library from lib/... or from the system's nimrod installation
23:58:18Araqyou can invoke the tester directly with a single test
23:59:41Araqwell it invokes "nimrod" and nimrod gets its stdlib from the $lib variable
23:59:58Araqwhich is set somewhere in its config system iirc