<< 16-03-2018 >>

00:19:58*rbrt joined #nim
00:22:48*rbrt quit (Client Quit)
00:31:56*adeohluwa quit (Quit: Connection closed for inactivity)
00:55:44*dddddd quit (Remote host closed the connection)
01:01:16*jxv joined #nim
01:08:22*jxv quit (Quit: string can snapped)
01:08:40GitDisc<cavariux> Hi guys, do you think that combining c and c++ bindings in a library is bad practice? because of having to use different backends?
01:10:33FromGitter<zacharycarter> it could have an effect on portability
01:10:43FromGitter<zacharycarter> depending on what standard of C++ is used
01:11:08FromGitter<zacharycarter> and what the target device supports
01:11:36GitDisc<cavariux> hmm good point, hi btw I just got back
01:11:42FromGitter<zacharycarter> wb
01:11:57GitDisc<cavariux> what's the real different between imgui and nuklear other than one is in C and the other in C++?
01:12:30FromGitter<zacharycarter> one is a header only library - the other is not
01:13:06GitDisc<cavariux> damn haha you are so correct
01:13:19GitDisc<cavariux> I was thinking of making the imgui bindings but it's in c++ :/
01:13:22FromGitter<zacharycarter> imgui has more features and more adoption
01:13:40FromGitter<zacharycarter> you can bind to C++ w/Nim - I'm not an expert on the subject, but it's definitely possible
01:13:57FromGitter<zacharycarter> see https://github.com/3dicc/Urhonimo
01:13:59GitDisc<cavariux> yeah, it's almost the same but with importcpp instead of importc
01:14:07FromGitter<zacharycarter> yeah
01:14:33GitDisc<cavariux> well, I will add it to nimgl with a warning that it will enable cpp compiling
01:14:36FromGitter<zacharycarter> there's also - https://github.com/Extrawurst/cimgui
01:15:39GitDisc<cavariux> hmm, it looks like to much of a trouble when nim can bind with cpp
01:17:26*btbytes joined #nim
01:17:59*btbytes quit (Client Quit)
01:19:18*vlad1777d_ joined #nim
01:21:21*vlad1777d quit (Ping timeout: 264 seconds)
01:28:00*yglukhov joined #nim
01:32:34*yglukhov quit (Ping timeout: 260 seconds)
01:45:34*endragor joined #nim
01:49:57*endragor quit (Ping timeout: 240 seconds)
02:35:11FromGitter<zacharycarter> shashlick: idea for nimgen - allow the library being wrapped to be added as a submodule
02:45:39*yglukhov joined #nim
02:49:03*Snircle quit (Quit: Textual IRC Client: www.textualapp.com)
02:50:09*yglukhov quit (Ping timeout: 248 seconds)
02:56:17*S1tiSchu joined #nim
03:00:24*S1t1Schu quit (Ping timeout: 276 seconds)
03:00:36shashlick@zacharycarter - can you please explain what you mean? not sure I get the submodule context
03:02:05*endragor joined #nim
03:05:12*endragor_ joined #nim
03:05:19*Jesin joined #nim
03:06:57*endragor quit (Ping timeout: 264 seconds)
03:08:12TangerA git submodule?
03:09:52FromGitter<zacharycarter> yes
03:10:14FromGitter<zacharycarter> also I'm having trouble getting https://github.com/sass/libsass to work with nimgen
03:10:51FromGitter<zacharycarter> ```code paste, see link``` [https://gitter.im/nim-lang/Nim?at=5aab35ba458cbde5573d69ac]
03:10:55FromGitter<zacharycarter> doesn't seem to do much :/
03:12:44*Jesin quit (Quit: Leaving)
03:12:47TangerGit submodules are OK, but they'll probably need something watching them and keeping them updated
03:13:08TangerCould have come a long way since I used them though
03:15:10*noonien quit (Quit: Connection closed for inactivity)
03:15:47FromGitter<zacharycarter> git also has the subtree command - but either way I think it'd be better than just checking out part of the source lib into the lib your wrapping ¯\_(ツ)_/¯
03:17:34*Jesin joined #nim
03:19:02*Jesin quit (Remote host closed the connection)
03:19:19*rauss quit (Quit: WeeChat 2.0.1)
03:22:14*rauss joined #nim
03:23:16FromGitter<zacharycarter> shashlick: if you can offer any help with the libsass stuff - I'd be much appreciative
03:24:06shashlicksure am looking
03:24:48FromGitter<zacharycarter> thanks!
03:25:30shashlickso there's nothing in that file worth mention, you want to recurse so recurse = true
03:25:55FromGitter<zacharycarter> ah thanks
03:26:10shashlickplus nimgen doesn't automatically recurse <> includes since those are usually system includes
03:26:18FromGitter<zacharycarter> gotcha
03:26:42shashlickso need quotes = false and I think filter = sass
03:27:02FromGitter<zacharycarter> alright I'll try all of those options - thank you very much!
03:27:15shashlickyou also don't need the [sass.nim] empty section unless you want to change something in those files
03:27:56FromGitter<zacharycarter> ah okay cool! good to know :)
03:29:48shashlickcan you also please open an issue to track the submodule feature with some detail on how you think it should work? not sure what it should do
03:31:25FromGitter<zacharycarter> sure - I need to check out the git sparse stuff too - it may be better than what I'm asking for
03:33:41shashlickyep you just say gitremote = url and gitsparse = list of files to checkout with wildcards
03:33:48shashlicki use it in nimssl for example
03:37:33FromGitter<zacharycarter> ah okay cool! thanks so much! was able to get the sass bindings done - now for bed - but now I can write a Nim sass parser :D
03:51:13*yglukhov joined #nim
03:55:27*yglukhov quit (Ping timeout: 240 seconds)
05:06:43*yglukhov joined #nim
05:11:01*yglukhov quit (Ping timeout: 246 seconds)
05:16:01*cspar joined #nim
05:20:45*smt quit (Ping timeout: 263 seconds)
05:37:54FromGitter<gogolxdong> undeclared identifier: 'await'
05:48:13*yglukhov joined #nim
05:53:09*yglukhov quit (Ping timeout: 264 seconds)
06:09:30*nsf joined #nim
06:12:38Tangergogolxdong: await needs to be called inside a proc with the {.async.} pragma
06:13:00TangerAnd you need to import asyncdispatch if you're not already
06:13:29FromGitter<gogolxdong> yes, thanks.
06:21:09*craigger quit (Quit: bye)
06:21:17*craigger joined #nim
06:52:12*yglukhov joined #nim
06:54:30*r3d9u11 joined #nim
06:56:22*yglukhov quit (Ping timeout: 246 seconds)
07:18:45*Vladar joined #nim
07:27:30*PMunch joined #nim
07:47:01*yglukhov joined #nim
07:51:57*yglukhov quit (Ping timeout: 264 seconds)
08:11:21*rokups joined #nim
08:13:14*jaco60 joined #nim
08:15:26*yglukhov joined #nim
08:27:46*BitPuffin joined #nim
08:47:06*floppydh_ joined #nim
08:47:25*xkapastel quit (Quit: Connection closed for inactivity)
09:06:26*dddddd joined #nim
09:09:27*sendell joined #nim
09:19:19*Arrrr joined #nim
09:34:53PMunchWoo, result now works in quote do: https://github.com/nim-lang/Nim/pull/7343
09:41:22*adeohluwa joined #nim
09:45:23adeohluwahow to write a nim script that u can pipe to?
09:45:56adeohluwa$cat data | nimcode
09:46:29PMunchData sent over a pipe is received as stdin
09:46:57PMunchSo just read from stdin like you would with regular user input
09:47:23adeohluwaI used rdstdin
09:47:31adeohluwareadLineFromStdin()
09:48:14PMunchhttps://nim-lang.org/docs/tut1.html
09:48:18PMunchCheck the first example there
09:49:16PMunchIf you compile that and call it with echo "adeohluwa" | myprogram it will output the prompt immediately followed by "Hi, adeohluwa" before quitting
09:50:32PMunchSame with readLineFromStdin
09:50:50PMunchBut for some reason you won't even see the prompt
09:51:17PMunchhttp://ix.io/XM0/
09:52:09PMunchThat simple program when run with 'echo "adeohluwa" | ./test' would output "Hi, adeohluwa!"
09:53:01adeohluwaPMunch: works great here...thanks!
09:53:18PMunchNo problem :)
09:54:00adeohluwaone issue
09:54:10adeohluwathat only reads a single line of data
09:55:21PMunchYeah, readLineFromStdin
09:56:49AraqPMunch: good job on that PR.
09:57:21*mal`` quit (Quit: Leaving)
09:57:32PMunchAraq, thanks :)
09:57:47PMunchIt's basically just an adaption of the trick I've been using to make it work in my own code
09:59:23PMunchadeohluwa, when piping to stdin it will send an EOF at the end of the input. So you can use readAll(stdin) to read the entire pipe into your program
10:01:11PMunchAnd if you want to check if it is something being piped in or if it's a terminal stdin you can use isatty from the terminal module
10:02:23adeohluwareadAll() takes a file type
10:02:32PMunchYeah stdin is a File
10:03:00adeohluwaPMunch: is there a way to read entire stdin as one string
10:03:05*mal`` joined #nim
10:03:42PMunchSo this little program will read only from a pipe and echo an error if it's not a pipe: http://ix.io/XM7/
10:03:55PMunchAnd it will read it all in as one string as you can see
10:05:05PMunchCalling readAll on the regular terminal stdin is not a very good idea because your user must then add an EOF to the input for it to get past it. So you should do the pipe check with isatty before calling it.
10:07:30adeohluwaoh...okay
10:07:33adeohluwaI get it now
10:07:46FromGitter<mratsim> So OcaML is considering borrow-checking? https://news.ycombinator.com/item?id=16597329
10:08:04adeohluwaPMunch: thanks a bunch
10:08:25PMunchadeohluwa, no problem :)
10:12:42Araqmratsim: yeah, I've read that paper a week ago
10:49:40FromGitter<mratsim> While people are complaining about inclusive range in Nim, Rust added their inclusive range operator `..=` https://www.reddit.com/r/rust/comments/84qheq/inclusive_ranges_with_are_stable/
10:53:46federico3anybody using msgpack?
10:54:39def-federico3: yes, in python. I played around with using them in nim too, but long ago
11:01:01federico3the lib named msgpack seems to be broken :-/
11:11:52GitDisc<Lite5h4dow> is libx the only UI library that is compatible with android?
11:17:03GitDisc<Lite5h4dow> nimx*
11:17:50PMunchWell, pure SDL works
11:18:02PMunchSo anything you can run on SDL or OpenGL should work as well
11:18:23PMunchPlus you might even be able to create something with Karax and a simple web-wrapper
11:18:46PMunchNuklear for example should work
11:36:17*enthus1ast joined #nim
11:38:31*enthus1a1t quit (Ping timeout: 256 seconds)
11:38:57*vlad1777d_ quit (Ping timeout: 240 seconds)
11:42:14livcdis there a pet project that uses karax besides the examples in the karax repo ?
11:46:57PMunchdochack appears to use it
11:47:05PMunchtools/dochack
11:48:34*enthus1a1t joined #nim
11:50:09*enthus1ast quit (Ping timeout: 265 seconds)
11:50:10Araqdochack predates karax
11:52:13livcdNo idea what's dochack
11:52:35PMunchMe neither, it just appeared when I searched for karax
11:52:40PMunchAnd it appears to import it :P
11:52:47PMunchNot that I can get it to run..
12:05:01Araqiirc it uses a module named 'karax'
12:05:08Araqbut not the karax nimble package
12:05:15Araqmaybe I misremember
12:05:48Araqanyway, karax is used for closed source applications, don't know of any open source apps
12:06:03FromGitter<zacharycarter> nim playground :D
12:06:12FromGitter<zacharycarter> I'm also using it in my personal blog I'm making
12:09:06Araqoh cool.
12:09:18Araqwasn't aware nim playground uses it :-)
12:09:39*floppydh_ quit (Ping timeout: 276 seconds)
12:10:51FromGitter<zacharycarter> yup!
12:13:40livcdnim playground uses it ? but i do not see it in the repo
12:14:35Yardanicowait, does it really use karax?
12:14:44YardanicoI can't find it in the repo
12:15:17YardanicoAh, I'm stupid
12:15:21Yardanicohttps://github.com/zacharycarter/nim-playground-frontend
12:15:32Yardanicohttps://github.com/zacharycarter/nim-playground-frontend/blob/master/src/app.nim#L85
12:15:49livcdahh this one
12:18:33GitDisc<Lite5h4dow> @Araq the version of SDL2.dll in the nim package is out of date or something
12:18:57GitDisc<Lite5h4dow> nimx just wont load unless i manually add the newest version of it
12:19:18GitDisc<Lite5h4dow> ik its not your library but a dependancy is out of date so i thought i should let you know
12:20:37*leorize joined #nim
12:23:16*athenot quit (Ping timeout: 246 seconds)
12:24:16*fqmquin joined #nim
12:24:19*fqmquin quit (Client Quit)
12:25:54*cspar_ joined #nim
12:29:09*cspar quit (Ping timeout: 264 seconds)
12:31:08AraqLite5hh4dow: wasn't aware SDL2.dll is shipped with Nim but ok
12:31:09*adeohluwa quit (Quit: Connection closed for inactivity)
12:33:55*sendell quit (Remote host closed the connection)
12:45:55*floppydh_ joined #nim
13:00:14*athenot joined #nim
13:07:11GitDisc<Lite5h4dow> its in the main folder.
13:07:25GitDisc<Lite5h4dow> unless it came with another plugin
13:07:37GitDisc<Lite5h4dow> ints not in the source for nimx
13:07:44GitDisc<Lite5h4dow> its not in the source for nimx
13:08:45GitDisc<Lite5h4dow> does anyone here that knows how to use nuklear have any spare time?
13:08:47*sendell joined #nim
13:16:50leorizeanyone here have been fiddling around with --newruntime?
13:26:02*qleda joined #nim
13:26:02FromGitter<alehander42> does anybody finds an update many fields macro useful? ⏎ similar to ⏎ ⏎ ```a = A(e: 4, f: 2) ⏎ a.update: ⏎ e = 2 ⏎ f = -4``` ⏎ ... [https://gitter.im/nim-lang/Nim?at=5aabc5eaf3f6d24c68806611]
13:27:27FromGitter<alehander42> PR it* (but maybe its not suitable for stdlib)
13:27:52Araqthe stdlib needs sugar.nim :-)
13:28:01FromGitter<mratsim> @leorize I did but it was a few months ago.
13:28:11FromGitter<alehander42> I thought future.nim is sugar.nim :P
13:28:25FromGitter<mratsim> future might be removed or change
13:28:57*aziz joined #nim
13:28:58FromGitter<alehander42> that's the joke (but it accidentaly includes mostly similar macros)
13:29:13FromGitter<alehander42> oh man, I just find about dump, I am sure, I've written versions of that before
13:32:50*Arrrr quit (Read error: Connection reset by peer)
13:39:08leorizeI've been playing with --newruntime for a C lib wrapper but got hit with this https://github.com/nim-lang/Nim/issues/7345
13:39:57Araqyeah --newruntime is shit
13:43:08*Mat4 joined #nim
13:43:10leorizeAraq: it's quite useful actually, have you been actively working on it?
13:52:21*leorize quit (Ping timeout: 276 seconds)
13:52:48*leorize joined #nim
13:54:58Mat4Hello, exist there a roadmap for future development ?
13:57:14FromGitter<zacharycarter> https://github.com/nim-lang/nim/wiki/roadmap
13:57:20FromGitter<zacharycarter> not sure how up to date it is
13:57:31Mat4thanks
14:03:39*Mat4 left #nim (#nim)
14:17:56Araqleorize: I want to work on it again :-)
14:21:40Araqso ...
14:22:15Araqproc toOpenArray[T](x: ptr UncheckedArray[T]; len: int): openArray[T] {.magic: "ToOpenArray".}
14:22:16Araq?
14:22:37Araqthe name is a bit long
14:45:18FromGitter<dom96> Looks like Aporia compilation is broken under 0.18.0
14:45:28FromGitter<dom96> Seems like a possible compiler regression
14:47:44*nsf quit (Quit: WeeChat 2.0.1)
14:51:13Araqwhat's the error?
15:04:10*Snircle joined #nim
15:05:01*aziz quit (Quit: Ex-Chat)
15:05:38FromGitter<dom96> aporia.nim(1183, 37) Error: illegal capture 'currentPage'
15:06:46FromGitter<dom96> https://github.com/nim-lang/Aporia/blob/master/aporia.nim#L1183
15:18:51Araqmark the template as .dirty or move it below the 'var currentPage'
15:19:32*r3d9u11 quit (Remote host closed the connection)
15:20:56*btbytes joined #nim
15:23:29Araqcan anybody confirm https://github.com/nim-lang/Nim/pull/7326 ?
15:27:47PMunchThat it is an issue, or that his fix works?
15:29:04Araqboth. preferably "before" and "Later" screenshots
15:29:08*endragor_ quit (Remote host closed the connection)
15:29:22*floppydh_ quit (Ping timeout: 245 seconds)
15:29:24FromGitter<mratsim> wow this is awesome: https://github.com/nim-lang/Nim/pull/7338
15:29:26PMunchI can confirm that it is an issue
15:29:44PMunchAnd that changing the background color to FDFBFA works as a fix
15:32:47Araqmratsim: yup :-)
15:35:40Araqso again ... toOpenArray?
15:37:02Araqslice?
15:40:26FromGitter<mratsim> huh? Who are you asking?
15:45:32FromGitter<mratsim> To be honest i don’t really like the openarray name though it has history in Pascal, Oberon, Modula, it looks so foreign to my naive eyes.
15:45:34*xkapastel joined #nim
15:45:44FromGitter<mratsim> Rust uses slice: https://doc.rust-lang.org/std/primitive.slice.html
15:45:56shashlick@mratsim I presume it is based on this
15:45:56FromGitter<mratsim> "Slices are a view into a block of memory represented as a pointer and a length."
15:46:15shashlickhttps://github.com/nim-lang/Nim/issues/7337#issuecomment-373453594
15:49:00*rbrt joined #nim
15:49:15FromGitter<mratsim> Or View mentionned by zielmicha here: https://github.com/nim-lang/Nim/issues/5753
15:49:27FromGitter<mratsim> 4 or 5 letters doesn’t matter ;)
15:49:43shashlickI had two projects in mind, let me know which one is higher priority
15:53:13shashlick1. Check every nimble package daily with latest Nim head
15:53:41*icebattl1 joined #nim
15:54:37*libman_ joined #nim
15:54:37shashlick2. Add more functions to the VM / nimscript
15:55:54FromGitter<mratsim> I vote for 1
15:56:01*leorize quit (Quit: WeeChat 2.0.1)
15:56:46*leorize joined #nim
15:57:32FromGitter<alehander42> just IMHO view sounds more intuitive (but slice is used as a termin in rust & go so it might be more accessible)
15:57:46FromGitter<alehander42> I like 1 too, sounds very useful
15:57:52*mrshu2 joined #nim
15:58:47shashlickIdeally all nimble package come with test cases, else could just run a check on each Nim file
15:59:04FromGitter<dom96> Araq: tried moving it below, also tried marking with {.dirty.}
15:59:08FromGitter<dom96> Both didn't work
16:00:00*mwbrown quit (Ping timeout: 268 seconds)
16:01:50FromGitter<mratsim> @shashlick, yeah but ideally, all nimble packages test are triggered by `nimble test`
16:03:01*libman__ quit (*.net *.split)
16:03:02*federico3 quit (*.net *.split)
16:03:02*MJCaley quit (*.net *.split)
16:03:02*icebattle quit (*.net *.split)
16:03:02*mrshu1 quit (*.net *.split)
16:03:19FromGitter<mratsim> Btw I feel like https://github.com/nim-lang/Nim/issues/5437 and https://github.com/nim-lang/Nim/issues/5753 are about the same thing with https://github.com/nim-lang/Nim/issues/7337 drifting closely in the same area.
16:04:11*mwbrown joined #nim
16:04:54shashlickYa but there's always special packages that need stars aligned to test - some dll required or other untracked dependency
16:06:03shashlick2 votes for 1, any for 2?
16:07:44FromGitter<dom96> shashlick: pretty sure federico3's site already does something similar to #1
16:08:51shashlickNot aware of it dom96
16:09:32FromGitter<dom96> https://nimble.directory
16:12:22shashlickI see, that's great. So looks like #2 wins by default
16:13:06shashlickWere there already issues on VM enhancements
16:13:32*yglukhov quit (Ping timeout: 245 seconds)
16:18:59*MJCaley joined #nim
16:20:46FromGitter<dom96> you could improve Nimble's API :)
16:22:07shashlickIs there an issue on that
16:24:37FromGitter<alehander42> wow I haven't seen the new nimble directory
16:24:39FromGitter<alehander42> very nice
16:24:46FromGitter<alehander42> why wasn't there a post about it
16:25:34*yglukhov joined #nim
16:26:08leorizeAraq: Is there anything I can do to help with --newruntime? Pointers are welcome as I'm not familiar with Nim source code.
16:26:45*MJCaley quit (Ping timeout: 256 seconds)
16:37:07*PMunch quit (Quit: Leaving)
16:38:11*Mat4 joined #nim
16:49:08*r3d9u11 joined #nim
16:49:51*Trustable joined #nim
16:53:36FromGitter<gogolxdong> How to iterate an array with index?
16:54:21FromGitter<mratsim> for i in yourarray: doSomeInterestingStuff(yourarray[i]) ?
16:54:50ieatnerdsthat should do it
16:55:11FromGitter<gogolxdong> Isn't i the element of the array?
16:55:49FromGitter<zacharycarter> yes
16:55:51FromGitter<brentp> is anyone else using holy-build-box to build distributable executables? I have something that works for 0.17.2, but fails with 0.18.0, I think due to the addition of linenoise which depends on epoll. epoll is apparently not in centos 5.
16:55:57ieatnerdsactually might be, i know it would be for a seq...
16:55:59FromGitter<zacharycarter> ```let foo = [1,2,3] ⏎ ⏎ for i in 0..<foo.len: ⏎ echo foo[i]``` [https://gitter.im/nim-lang/Nim?at=5aabf71e8f1c77ef3acaddc2]
16:57:01FromGitter<zacharycarter> same issue with seq
16:57:11FromGitter<zacharycarter> @gogolxdong
16:58:32FromGitter<brentp> here is the error I get, in case it helps ⏎ ⏎ ```code paste, see link``` [https://gitter.im/nim-lang/Nim?at=5aabf7b7bb1018b37af0a787]
16:59:47FromGitter<gogolxdong> yes,thanks for helping @zacharycarter
17:01:00FromGitter<mratsim> uh yes sorry
17:01:19FromGitter<mratsim> for i, v in yourarray: would give you the index and the value
17:02:00FromGitter<gogolxdong> seems not apply to JsonArray?
17:03:09*sendell quit (Remote host closed the connection)
17:07:52*Jesin joined #nim
17:07:52FromGitter<data-man> @shashlick: more details for 2, please
17:13:05FromGitter<zacharycarter> question - why are objects returned from C FFI sometimes with angled brackets around them
17:13:12FromGitter<zacharycarter> so instead of getting like ptr SomeType
17:13:17FromGitter<zacharycarter> I get - <ptr SomeType>
17:15:33FromGitter<zacharycarter> ah nevermind
17:15:35FromGitter<zacharycarter> I'm just being stupid
17:17:54shashlick@data-man: thinking of adding more procs to nimscript so you can do more fun things in scripts without having to compile
17:18:21shashlickan alternative idea is to help get more modules to work in the VM (i.e. in nimscripts or during macro execution)
17:19:03shashlickbut i don't know how easy it is :)
17:19:34shashlicksome of it seems straightforward - https://github.com/nim-lang/Nim/blob/5ea80b43b1805003d8c06ac5122c6e698c959f52/compiler/scriptconfig.nim#L55
17:20:11shashlickbut not sure about getting more complex stdlib modules working in the VM
17:21:35FromGitter<data-man> @shashlick: I vote for 2 :)
17:26:09shashlickso looks like #2 is also multi-part - 2.1 getting more functionality into nimscript and 2.2 getting some specific stdlib module working in the VM
17:26:34shashlickneed guidance on whether this is valuable and if there's already some known issues tracking this somewhat
17:27:00FromGitter<zacharycarter> https://github.com/zacharycarter/nim-sass
17:29:08shashlicknice work @zacharycarter
17:29:21FromGitter<zacharycarter> thx
17:29:25shashlickdon't see the nimgen artifacts
17:29:48*yglukhov_ joined #nim
17:30:06FromGitter<zacharycarter> yeah - I didn't include the nimgen cfg - I had to do some stuff manually (wasn't sure how to make the required source modifications using nimgen)
17:31:57*yglukhov quit (Ping timeout: 240 seconds)
17:32:30shashlickwhat kind of changes?
17:32:44FromGitter<zacharycarter> let me try to find the blocks of code that were giving me issue
17:33:15FromGitter<zacharycarter> these typedef statements here : https://github.com/sass/libsass/blob/master/include/sass/functions.h#L23-L41
17:33:25FromGitter<zacharycarter> the parentheses around the alias screw up c2nim
17:38:09*yglukhov_ quit (Ping timeout: 264 seconds)
17:38:42*yglukhov joined #nim
17:46:26shashlickam wondering how nimgen could help
17:51:25*cspar joined #nim
17:51:32shashlickI can do regex replaces within nimgen https://github.com/genotrance/nimgen/blob/6d0abefe8a3c3bb060941cd664fc66dc3cefbd21/nimgen.nim#L223
17:51:32*brainproxy joined #nim
17:52:02shashlickneed to do a regex search from the cfg file
17:52:23*Trustable quit (Remote host closed the connection)
17:52:29*rbrt quit (Quit: Oíche mhaith)
17:52:36shashlicklike searchregex = "typedef struct (.?) ((.?));" or something
17:53:06brainproxyseems like nim-mode keeps getting confused, i installed w/ melpa and did the basic setup per the readme; nimsuggest and flycheck are working, but if there's a problem and I fix it, sometimes the buffer gets stuck w/ highlighted lines and there are still error messages even though the offending code is gone or fixed
17:53:15*endragor joined #nim
17:53:45*Jesin quit (Quit: Leaving)
17:53:57*cspar_ quit (Ping timeout: 240 seconds)
17:55:30shashlicknot available today - typedef struct (.?) ((.?));"
17:55:36shashlickhttps://github.com/genotrance/nimgen/issues/2
17:57:49*endragor quit (Ping timeout: 260 seconds)
17:58:50*nsf joined #nim
18:08:09*fvs joined #nim
18:22:15*Mat4 left #nim (#nim)
18:46:17*smt joined #nim
18:46:37FromGitter<dandevelo> I am looking to generate an xml file with Nim based on a template. Where should I start?
18:57:39*r3d9u11 quit (Remote host closed the connection)
19:05:13*NimBot joined #nim
19:10:07fvshttps://nim-lang.org/docs/lib.html#pure-libraries-xml-processing
19:19:45FromGitter<dandevelo> Thanks @fvs!
19:24:23*DarkArctic quit (Remote host closed the connection)
19:33:28*nsf quit (Quit: WeeChat 2.0.1)
19:35:31*cyberlis joined #nim
19:39:01*DarkArctic joined #nim
19:47:55*fvs left #nim ("ERC (IRC client for Emacs 25.3.1)")
19:51:10*libman_ left #nim (#nim)
20:09:23*DarkArctic_ joined #nim
20:09:27*DarkArctic quit (Remote host closed the connection)
20:09:42*DarkArctic_ is now known as DarkArctic
20:17:09*BitPuffin quit (Remote host closed the connection)
20:29:28*btbytes quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
20:30:21*btbytes joined #nim
20:31:16*jalbo joined #nim
20:37:38*athenot quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
20:40:37*cyberlis quit (Ping timeout: 256 seconds)
20:55:17*Vladar quit (Quit: Leaving)
20:58:11*cyberlis joined #nim
21:04:45*cyberlis quit (Quit: Leaving)
21:05:39*btbytes quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
21:06:43*MJCaley joined #nim
21:08:09*qleda quit (Ping timeout: 264 seconds)
21:10:29*miran joined #nim
21:30:32*nsf joined #nim
21:51:29*btbytes joined #nim
21:53:09*btbytes quit (Client Quit)
21:56:54*Mat4 joined #nim
21:58:53*Mat4 quit (Quit: Yaaic - Yet another Android IRC client - http://www.yaaic.org)
22:03:39*miran quit (Quit: Konversation terminated!)
22:07:18*nsf quit (*.net *.split)
22:07:18*jalbo quit (*.net *.split)
22:07:19*xkapastel quit (*.net *.split)
22:07:20*rauss quit (*.net *.split)
22:07:21*gangstacat quit (*.net *.split)
22:07:21*ieatnerds quit (*.net *.split)
22:07:21*abeaumont quit (*.net *.split)
22:07:22*JacobEdelman quit (*.net *.split)
22:07:22*Sentreen quit (*.net *.split)
22:07:22*allan0 quit (*.net *.split)
22:07:22*EastByte quit (*.net *.split)
22:07:52*nsf joined #nim
22:07:52*jalbo joined #nim
22:07:52*xkapastel joined #nim
22:07:52*rauss joined #nim
22:07:52*gangstacat joined #nim
22:07:52*ieatnerds joined #nim
22:07:52*abeaumont joined #nim
22:07:52*JacobEdelman joined #nim
22:07:52*Sentreen joined #nim
22:07:52*allan0 joined #nim
22:07:52*EastByte joined #nim
22:08:30*xkapastel quit (Max SendQ exceeded)
22:10:19*xkapastel joined #nim
22:11:04*vivus joined #nim
22:15:40*rbrt joined #nim
22:28:22*vlad1777d_ joined #nim
22:30:11*endragor joined #nim
22:34:40*endragor quit (Ping timeout: 268 seconds)
22:35:11*nsf quit (Quit: WeeChat 2.0.1)
22:48:35*jaco60 quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
23:05:53Araqleorize: the transformation is in "destroyer.nim"
23:06:51Araqsemasgn contains the lifting of '=' etc to compound types
23:07:43Araqthese are pretty much the only files that are concerned with destructor injections and move optimizations
23:07:50Araqfor --newruntime
23:15:28*jalbo quit (Remote host closed the connection)
23:18:09*ipjk joined #nim
23:44:57*rbrt quit (Quit: Oíche mhaith)