[00:12:15] *** Oddity007 has joined #ooc-lang [00:19:16] *** fredreichbier has joined #ooc-lang [00:19:16] *** ChanServ sets mode: +v fredreichbier [00:36:29] *** locks has quit IRC [00:44:18] *** locks has joined #ooc-lang [00:57:56] *** Jetbeard has quit IRC [01:44:12] *** fredreichbier has quit IRC [01:45:44] *** fredreichbier has joined #ooc-lang [01:45:44] *** ChanServ sets mode: +v fredreichbier [01:56:27] *** Ttech has quit IRC [01:59:06] *** fredreichbier has quit IRC [01:59:37] *** fredreichbier has joined #ooc-lang [01:59:37] *** ChanServ sets mode: +v fredreichbier [02:09:35] *** fredreichbier_ has joined #ooc-lang [02:09:38] *** fredreichbier has quit IRC [02:09:59] *** fredreichbier_ has quit IRC [02:20:16] *** shahri has quit IRC [02:30:06] *** Ttech has joined #ooc-lang [04:05:19] *** Oddity007 has quit IRC [04:06:39] *** Ttech has quit IRC [04:11:37] *** Ttech has joined #ooc-lang [04:32:49] *** aanderse has joined #ooc-lang [05:23:28] *** curtism has quit IRC [06:14:37] *** Nilium has quit IRC [06:30:22] *** Nilium has joined #ooc-lang [09:04:06] *** Nilium has quit IRC [09:04:35] *** Nilium has joined #ooc-lang [09:14:08] *** MayDaniel has joined #ooc-lang [09:15:02] *** shamanas has joined #ooc-lang [09:15:14] <shamanas> hello [09:15:26] <duckinator> hi, you've caught me lurking after 3am again D; [09:15:53] <shamanas> haha [09:16:12] *** MayDaniel has quit IRC [09:17:01] <shamanas> https://github.com/shamanas/pride-lang/blob/master/design.md just gotta write flow control and FFI parts [09:34:56] <duckinator> shamanas: looks good! :D </late> [09:34:58] <duckinator> anywho, 'night o/ [10:28:59] <pippijn> shamanas: so -10 is a literal? [10:29:23] <shamanas> hm [10:29:38] <shamanas> pippijn: talking about pride? [10:29:43] <pippijn> yes [10:30:17] <shamanas> hm it could be an operator you are correct [10:30:25] <shamanas> unaryop - on 10 [10:30:31] <pippijn> ah [10:30:47] <pippijn> yes, that's usually how it's done [10:30:50] <shamanas> i guess this is a more correct way [10:31:00] <shamanas> btw do yu like it so far? :) [10:31:03] <shamanas> you* [10:31:07] <pippijn> is . an operator? [10:31:24] <shamanas> i was thinking about this [10:31:31] <shamanas> i think i will implement it as one yes [10:32:07] <shamanas> this is my first language design you see :) [10:32:11] <shamanas> still learning what is better [10:32:22] <pippijn> did you think about how you will solve the lexical ambiguity of the .. range operator and floats? [10:32:30] <shamanas> and hopefully i can implement this, although it is quite complicated [10:32:35] <pippijn> or is .. not an operator? [10:32:50] <shamanas> no .. is not an operator [10:32:51] <pippijn> it's in literals, so it might be a range literal, in which case there is no ambiguity [10:33:02] <shamanas> it isa part of the literal [10:33:04] <shamanas> tes [10:33:06] <pippijn> okay [10:33:06] <shamanas> yes [10:33:12] <pippijn> so 1 .. 10 doesn't work? [10:33:14] <shamanas> damn my keyboard xO [10:33:28] <pippijn> or are the spaces also part of the literal? [10:33:32] <shamanas> well i could make it accpet whitespace [10:33:58] <shamanas> these are things i havent really thought about yet [10:34:05] <shamanas> first [10:34:19] <shamanas> i want to write the general ideas and concepts [10:34:40] <shamanas> and then i will think about "details" [10:34:55] <shamanas> finally, I will think about how i will implement it xD [10:35:34] <pippijn> okay [10:35:38] <shamanas> function currying in C will be hard [10:35:41] <shamanas> D: [10:35:51] <pippijn> not really [10:36:16] <pippijn> is : an operator? [10:36:16] <shamanas> o about implementing it?how would yo [10:36:22] <shamanas> aarg [10:36:27] <shamanas> my keyboard sucks [10:36:32] <shamanas> no [10:36:34] <shamanas> not : [10:36:44] <shamanas> it would make parsing ternaries a nightmare [10:36:48] <pippijn> :: is for typing an object [10:37:05] <shamanas> y [10:37:06] <pippijn> ah, so ?: is an operator [10:37:14] <shamanas> sure,y :P [10:37:32] <shamanas> i may introduce type aliases [10:37:53] <shamanas> i.e. type Foo = { a :: Int, b :: String } <- this is an object's type btw [10:37:59] <shamanas> and then you can use it like [10:38:10] <shamanas> f~extern :: Foo -> Foo [10:38:29] <shamanas> (Foo -> Foo) is a function type btw :P [10:38:48] <shamanas> function types are written the Haskell way :D [10:41:21] <shamanas> what would you prefer, everything passed by reference or pride types -> pass by reference, c types -> pass by value/rference (depends on wich we are binding) [11:02:24] *** shamanas has quit IRC [12:13:40] *** bartwe has quit IRC [13:11:05] *** Jetbeard has joined #ooc-lang [15:10:23] *** IRCAnswersBot has quit IRC [15:10:26] *** locks has quit IRC [15:10:29] *** sohum has quit IRC [15:10:38] *** IRCAnswersBot has joined #ooc-lang [15:10:48] *** sohum has joined #ooc-lang [15:13:11] *** locks has joined #ooc-lang [15:40:59] *** NoelCower has joined #ooc-lang [15:43:48] *** NilCower has joined #ooc-lang [15:43:54] *** Nilium has quit IRC [15:46:18] *** NoelCower has quit IRC [15:49:35] *** Nilium has joined #ooc-lang [15:52:12] *** NilCower has quit IRC [15:52:44] *** NoelCower has joined #ooc-lang [15:55:45] *** Nilium has quit IRC [16:30:49] <CIA-126> rock: Amos Wenger master * r7ea2ea7 / (4 files in 2 dirs): Add mkfifo, add FileReader constructor from file descriptor - http://git.io/Lebkng [16:30:50] <CIA-126> rock: Amos Wenger master * r2d5a6a7 / (.gitignore source/rock/middle/FunctionDecl.ooc): Merge branch 'master' of github.com:nddrylliog/rock - http://git.io/gVMNTg [16:51:34] *** amos has joined #ooc-lang [16:51:43] <CIA-126> rock: Amos Wenger master * r744aac0 / sdk/io/FileReader.ooc : FileReader read(Buffer) - http://git.io/fFXU5g [16:59:28] <duckinator> amos: https://github.com/nddrylliog/rock/commit/744aac0dd8159af44e4a51606026fd50da5c51df someone forgot to use 4-space indentation ;P [17:03:20] *** amos is now known as nddrylliog [17:03:21] <nddrylliog> dammit. [17:03:39] <nddrylliog> what the hell.. [17:04:37] <nddrylliog> duckinator: I have softtabstop=4 and shiftwidth=4 - what more? [17:05:05] <nddrylliog> duckinator: what does 'expandtab' do again? [17:05:15] <duckinator> hm? [17:05:21] <duckinator> what editor are you using? :P [17:05:43] <nddrylliog> duckinator: ... [17:05:50] * nddrylliog chokes duckinator with a vim handbook [17:06:08] * duckinator explodes violently all over the place [17:06:16] <CIA-126> rock: Amos Wenger master * r7a90e24 / sdk/io/FileReader.ooc : Whatever, tabs, spaces. - http://git.io/-cg3mA [17:27:13] <duckinator> nddrylliog: btw, i tried adding a newer libatomic_ops again to no avail. so if someone else can do that, great, if not i'll take another whack at it in 2hr or so since i have to watch my niece for a bit [17:27:15] <duckinator> bai o/ [17:27:41] <duckinator> (by "to no avail" i mean "i have no clue what i'm doing so i basically murdered it to the point that it didn't even try to compile and just sorta flopped around") [17:31:03] <nddrylliog> ..how can you fail at doing that [17:31:07] <nddrylliog> download, unzip, test, commit ? [17:35:49] <locks> hi nddrylliog :) [17:37:11] <nddrylliog> locks: hi! [17:38:15] *** ChanServ sets mode: +v nddrylliog [18:39:32] <nddrylliog> working with oocmzq is really, really nice. [18:39:40] <nddrylliog> you guys should try it. [18:42:47] *** shahri has joined #ooc-lang [18:52:19] *** mickael9 has joined #ooc-lang [18:58:40] *** MayDaniel has joined #ooc-lang [19:20:45] *** mickael9` has joined #ooc-lang [19:21:05] *** mickael9 has quit IRC [19:57:25] *** fredreichbier has joined #ooc-lang [19:57:25] *** ChanServ sets mode: +v fredreichbier [20:08:06] *** fredreichbier_ has joined #ooc-lang [20:09:53] *** fredreichbier has quit IRC [20:13:18] *** MayDaniel has quit IRC [20:40:50] *** shamanas has joined #ooc-lang [20:41:08] <shamanas> hello :D [20:41:27] <shamanas> duckinator: i found the solution for function currying [20:41:38] <shamanas> f = (a,b) -> a+b [20:41:42] <shamanas> add1 = f(1) [20:41:50] <shamanas> Will automatically become [20:42:01] <shamanas> add1 = (b) -> f(1,b) [21:05:57] <CIA-126> rock: Amos Wenger master * r940b47b / (sdk/io/FileWriter.ooc sdk/lang/IO.ooc): Indentation mostly. - http://git.io/CiOnmA [21:06:38] <fredreichbier_> hi! [21:06:46] <fredreichbier_> shamanas, i don't really like it implicitly :/ [21:07:15] <shamanas> hm why so? [21:07:27] <fredreichbier_> because explicit is better than implicit :D [21:07:30] <shamanas> it is a pleasant way to make the code more light [21:07:43] <shamanas> well both are even better :D [21:08:02] <fredreichbier_> hmmm [21:08:16] <shamanas> Also, i think supporting function currying is kewl ;) [21:08:26] <shamanas> (jk) [21:08:28] <fredreichbier_> hehe [21:08:35] <fredreichbier_> well it's certainly cool [21:08:43] <fredreichbier_> but i'd rahter like it being explicit [21:08:46] <fredreichbier_> like .. curry(f, value) [21:09:15] <shamanas> hmm [21:10:03] <shamanas> naaah :P [21:10:08] <shamanas> r mayb [21:10:15] <shamanas> or maybe*... [21:10:51] <fredreichbier_> probably even possible on source level [21:11:12] <shamanas> i dont know, i prefer the implicit way :-/ imo its cool to write [1,2,3] map(add(2)) [21:11:58] <shamanas> even [1,2,3] map(2 +) [21:12:12] <shamanas> if operators are implemented as functions in the end [21:15:09] <shamanas> wich they will probably be [21:16:06] <shamanas> anyway apart from that you like the language? (if you have read my design) [21:17:16] <fredreichbier_> uh which design? :D [21:19:36] <shamanas> http://github.com/shamanas/pride-lang [21:20:28] <fredreichbier_> aaah, it's a proposal for your own language! i thought it was for ooc then :D [21:20:30] <fredreichbier_> good then! :D [21:21:03] <shamanas> hum i wasnt aware the lambda syntax in ooc was args -> body :P [21:21:28] <shamanas> but i was thinking about trying t implement a curry function in ooc too :) [21:21:42] <fredreichbier_> yay, pattern matching [21:22:13] <shamanas> LD [21:22:15] <shamanas> :D* [21:22:18] <locks> too many programming languaggeess [21:22:26] <CIA-126> rock: Amos Wenger master * r281acfb / sdk/structs/Stack.ooc : Indentation in Stack - http://git.io/rTyEEA [21:22:27] <fredreichbier_> huh, indentation-based call chaining? [21:22:58] <shamanas> its not exactly chain calling [21:23:04] <shamanas> read further :P [21:23:27] <shamanas> locks: just a little exercise so i can implement a lang [21:25:04] <fredreichbier_> Accesses the b field of obj then class the println method of the b field :D <- this thing? [21:26:00] <shamanas> woot what the heck [21:26:04] <shamanas> i wrote that? oO [21:26:35] <shamanas> then call the prinltn method ... [21:26:58] <shamanas> lemme fix this.. there are many typos actually, my keyboard starts falling apart :P [21:28:33] <fredreichbier_> hehe [21:28:36] <fredreichbier_> what should it do then? :D [21:28:56] <shamanas> what it does in ooc xD [21:29:08] <shamanas> just my crappy way of saying whitespace accesses fields [21:29:59] <fredreichbier_> hehe [21:30:03] <fredreichbier_> what's the object of ` toInt() sin() toString() println() [21:30:03] <fredreichbier_> `? [21:30:12] <fredreichbier_> obj or obj b? [21:30:25] <shamanas> obj b [21:30:44] <shamanas> the indentation is supposed to show that [21:30:54] <fredreichbier_> that's what i meant by indentation-based call chaining ^^ [21:30:58] <fredreichbier_> (badly worded, sorry) [21:31:16] <shamanas> pretty much, y [21:31:16] <fredreichbier_> (obj = { a = _ }) <- hmmm, isn't the first = more of a test for .. matching? :D [21:32:04] *** Jetbeard has quit IRC [21:32:14] <shamanas> you think (obj{ a = _}) would be better? [21:32:23] <shamanas> i thought about that to [21:32:26] <shamanas> too* [21:34:21] <fredreichbier_> or another "matching" operator or so [21:34:24] <fredreichbier_> but it looks cool! [21:34:27] <fredreichbier_> keep us posted =D [21:35:04] <shamanas> well you can watch pride-lang, you will pretty much see any change that i do :p [21:38:59] *** mickael9` has quit IRC [21:42:42] <fredreichbier_> sounds like a good idea [21:43:41] <shamanas> my army of followers is growing muahahaha <evil laugh> [21:44:19] <shamanas> you think (obj ~ { a = _ } ) would be nice [21:44:21] <shamanas> ? [21:45:14] <duckinator> shamanas: i'm one of your creepers...er...followers. yea that.. ;D [21:45:26] <shamanas> duckinator: ohai :) [21:45:59] <duckinator> ohai, and obai as well. be back in ~15 mins :P [21:46:26] <fredreichbier_> OH YES I LOVE DA TILDE [21:46:54] <shamanas> rly? :P [21:48:13] *** mickael9 has joined #ooc-lang [21:48:25] <locks> LOL [21:48:32] <locks> random fandom [21:50:30] <shamanas> the tilde in this case will be read obj has ... [22:02:05] *** shamanas has quit IRC [22:06:14] <duckinator> hi [22:06:27] <duckinator> oh of course he left :P [22:15:26] <nddrylliog> WELL OF COURSE HE DID. [22:20:43] *** Oddity007 has joined #ooc-lang [22:20:58] <nddrylliog> Oddity007: o/ [22:21:04] <Oddity007> Heeeey [22:21:57] <Oddity007> btw, I lol'd when you wrote "Everytime you say "v8 is fast", a generation of Lua coders is laughing at you." [22:22:18] <Oddity007> Using github as a way to blog: WIN. [22:22:25] *** curtism has joined #ooc-lang [22:23:54] *** __me has joined #ooc-lang [22:46:06] *** __me has left #ooc-lang [23:17:47] <nddrylliog> Oddity007: :) [23:17:52] <nddrylliog> Oddity007: yeah, it's pretty cool [23:33:13] <duckinator> hi [23:42:39] *** bartwe has joined #ooc-lang [23:58:30] <nddrylliog> wow, 25 peeps [23:58:52] <locks> yay :) [23:58:57] <locks> we don't need you anymore [23:59:04] <locks> <3 duckinator <3 shamanas