00:01:16 | Varriount | The python stdlib is like that too. Hidden stuff galore. |
00:04:08 | Araq | the problem is that it supports lots of features i rarely need |
00:04:29 | Araq | so it's only bloat |
00:04:39 | Araq | pegs have the same problem |
00:04:47 | Varriount | Araq: But *you* aren't the only user of nimrod |
00:05:08 | Araq | compile-time parsing of these should reduce code-size |
00:05:29 | Varriount | And the only problem with pegs is that you can't make a fully fledged parser out of them. |
00:06:07 | Araq | Varriount: yeah of course. |
00:06:42 | Araq | yeah, I want a real parser generator instead |
00:11:05 | Araq | btw we need an equivalent to scanf |
00:13:35 | * | bjz quit (Ping timeout: 258 seconds) |
00:15:39 | Jehan_ | Varriount: PEGs can be used for parsing just fine, but you generally want to still separate out the lexical phase. |
00:16:46 | Jehan_ | That said, I've done an entire C parser in Lua's lpeg. :) |
00:17:50 | Araq | pff that's nothing |
00:18:03 | Araq | I've done a C++ parser in Nim :P |
00:18:34 | Jehan_ | I wasn't bragging, I was merely pointing out that PEGs are capable of handling non-trivial grammars, at least in principle. |
00:18:41 | Araq | it's interesting that C++ is not harder to parser than C in the context of c2nim |
00:19:13 | Araq | well ok, it's harder but not by much |
00:19:17 | Jehan_ | How do you resolve ambiguities for which you need semantic information? |
00:19:45 | Araq | iirc c2nim makes educated guesses |
00:20:01 | * | t0ryzal joined #nimrod |
00:20:18 | * | t0ryzal quit (Quit: Leaving) |
00:20:21 | Jehan_ | Heh. :) |
00:21:12 | Araq | it even parses List<List<int>> |
00:21:28 | Araq | note the missing whitespace between > and > |
00:22:03 | * | q66 quit (Quit: Leaving) |
00:22:43 | Jehan_ | Yeah, I know. |
00:23:27 | Araq | Jehan_: it uses infinite lookahead with backtracking |
00:23:52 | Jehan_ | That's unavoidable for C++, I know. |
00:24:04 | Araq | C's casting syntax already requires that |
00:24:12 | Araq | when you have no symbol table |
00:24:15 | Jehan_ | The one good thing about C++'s design is that it considerably advanced parsing theory. :) |
00:24:53 | Araq | did it? I don't know. I didn't use parsing theory to implement it |
00:25:19 | Araq | reading and understanding these kind of papers takes longer than to come up with his own solution |
00:26:38 | Araq | "but what if the rule is epsilon...?" -- "I don't care, I rewrite the grammar" |
00:26:59 | Jehan_ | When C++ did this stuff, clock cycles weren't yet all that cheap. |
00:27:32 | Jehan_ | Anyhow, I need to be off. Good night! |
00:27:36 | * | Jehan_ quit (Quit: Leaving) |
00:49:16 | * | Antonia_Volkman joined #nimrod |
00:53:00 | Araq | hi Antonia_Volkman welcome |
01:14:11 | * | fowl joined #nimrod |
01:25:29 | * | Antonia_Volkman quit (Remote host closed the connection) |
01:29:42 | Onionhammer | are you people still awake? |
01:29:45 | Onionhammer | :-O |
01:40:29 | * | BlameStross1 quit (Quit: BlameStross1) |
01:43:43 | * | Anastasia10 joined #nimrod |
01:49:15 | Onionhammer | Araq you should add an 'else' for for loops, where if the loop has nothing to iterate over it executes that |
01:54:47 | * | fowl quit (Ping timeout: 245 seconds) |
02:03:21 | * | willwillson quit (Ping timeout: 246 seconds) |
02:06:29 | * | francisl quit (Quit: francisl) |
02:09:05 | * | fowl joined #nimrod |
02:12:33 | * | Sht0 quit (Ping timeout: 260 seconds) |
02:18:36 | Discoloda | like python? |
02:22:34 | * | xenagi joined #nimrod |
02:38:57 | * | Anastasia10 quit (Remote host closed the connection) |
02:47:57 | * | vendethiel- joined #nimrod |
02:48:30 | * | vendethiel quit (Ping timeout: 246 seconds) |
02:48:30 | Onionhammer | Discoloda apparently python's version is at the end of the loop |
02:48:34 | Onionhammer | but syntactically similar |
02:48:39 | * | Amaya_Larson61 joined #nimrod |
02:48:48 | Onionhammer | it's a misnomer in python though i think |
02:50:52 | * | fowl quit (Ping timeout: 240 seconds) |
02:58:20 | * | Sht0 joined #nimrod |
02:59:57 | * | vendethiel joined #nimrod |
03:02:43 | * | vendethiel- quit (Ping timeout: 272 seconds) |
03:03:48 | * | edayo_ joined #nimrod |
03:39:20 | * | Amaya_Larson61 quit (Remote host closed the connection) |
03:41:18 | * | Ana_Feil joined #nimrod |
04:01:28 | * | fowl joined #nimrod |
04:05:58 | * | therealbieber joined #nimrod |
04:06:14 | * | therealbieber left #nimrod (#nimrod) |
04:11:20 | * | edayo_ quit (Quit: Leaving) |
04:11:44 | * | edayo joined #nimrod |
04:14:53 | * | flaviu1 quit (Ping timeout: 260 seconds) |
04:18:20 | * | Ana_Feil quit (K-Lined) |
04:29:11 | * | fowl quit (Ping timeout: 272 seconds) |
04:52:52 | * | xenagi quit (Read error: Connection reset by peer) |
05:27:16 | * | kshlm joined #nimrod |
05:46:10 | * | brson quit (Quit: leaving) |
05:46:25 | * | BlaXpirit joined #nimrod |
06:11:12 | * | nande quit (Remote host closed the connection) |
06:29:45 | * | edayo_ joined #nimrod |
06:32:33 | * | edayo quit (Ping timeout: 244 seconds) |
06:57:45 | * | BlaXpirit quit (Quit: Quit Konversation) |
07:33:00 | * | untitaker quit (Ping timeout: 244 seconds) |
07:34:15 | * | Trustable joined #nimrod |
07:38:45 | * | Jesin quit (Ping timeout: 260 seconds) |
07:39:58 | * | untitaker joined #nimrod |
08:43:54 | * | wkoch quit (Ping timeout: 250 seconds) |
09:43:54 | * | eigenlicht_ quit (Quit: WeeChat 0.3.2) |
10:01:56 | * | edayo_ quit (Quit: Leaving) |
10:02:11 | * | edayo joined #nimrod |
10:09:29 | * | dirkk0 joined #nimrod |
10:20:37 | * | edayo_ joined #nimrod |
10:23:36 | * | edayo_ quit (Client Quit) |
10:23:52 | * | edayo quit (Ping timeout: 272 seconds) |
10:24:29 | * | kuzy000_ joined #nimrod |
10:29:01 | * | dirkk0 quit (Quit: Leaving) |
10:29:18 | * | dirkk0 joined #nimrod |
10:30:21 | * | bjz joined #nimrod |
10:41:11 | * | flaviu1 joined #nimrod |
10:49:54 | * | dirkk0 quit (Quit: Leaving) |
10:50:13 | * | dirkk0 joined #nimrod |
10:54:54 | * | flaviu1 quit (Ping timeout: 258 seconds) |
10:57:17 | * | def- quit (Ping timeout: 245 seconds) |
11:04:20 | * | io2 joined #nimrod |
11:04:33 | * | dirkk0 quit (Ping timeout: 260 seconds) |
11:11:49 | * | BitPuffin joined #nimrod |
11:12:06 | * | BlaXpirit joined #nimrod |
11:16:09 | * | BlaXpirit quit (Client Quit) |
11:17:46 | * | BlaXpirit joined #nimrod |
11:18:59 | * | BlaXpirit quit (Client Quit) |
11:20:41 | * | BlaXpirit joined #nimrod |
11:20:42 | * | BlaXpirit quit (Client Quit) |
11:22:41 | * | BlaXpirit joined #nimrod |
11:22:49 | * | dirkk0 joined #nimrod |
11:22:55 | * | dirkk0 quit (Client Quit) |
12:01:04 | * | BitPuffin quit (Ping timeout: 250 seconds) |
12:14:58 | * | willwillson joined #nimrod |
12:23:07 | * | willwillson quit (Ping timeout: 245 seconds) |
12:35:41 | * | bjz quit (Read error: Connection reset by peer) |
12:35:55 | * | bjz joined #nimrod |
12:38:39 | * | BitPuffin joined #nimrod |
13:03:41 | * | jasondotstar joined #nimrod |
13:16:50 | * | darkf quit (Quit: Leaving) |
13:38:24 | * | francisl joined #nimrod |
13:56:36 | * | kshlm quit (Ping timeout: 258 seconds) |
14:16:27 | * | dyu joined #nimrod |
15:13:26 | * | flaviu1 joined #nimrod |
15:19:13 | * | BlaXpirit quit (Quit: Quit Konversation) |
15:19:24 | * | wkoch joined #nimrod |
15:28:53 | * | kshlm joined #nimrod |
15:29:12 | * | kshlm quit (Client Quit) |
15:43:11 | * | bjz quit (Quit: Textual IRC Client: www.textualapp.com) |
15:45:41 | * | bjz joined #nimrod |
16:01:19 | flaviu1 | generic parameters don't work together with vars |
16:01:40 | flaviu1 | I have a method that requires a var T, but I have to annotate that explicitly. |
16:02:09 | flaviu1 | It might be a conscious decision, I dunno. Just mentioning it in case it's unintentional |
16:07:43 | * | francisl quit (Quit: francisl) |
16:29:53 | * | Fr4n quit (Ping timeout: 240 seconds) |
16:36:37 | * | q66 joined #nimrod |
16:55:56 | * | Matthias247 joined #nimrod |
17:13:35 | * | Fr4n joined #nimrod |
17:14:34 | * | wkoch quit (Quit: wkoch) |
17:21:59 | Araq | flaviu1: yeah it is not a bug |
17:22:17 | * | BlaXpirit joined #nimrod |
17:22:32 | * | willwillson joined #nimrod |
17:44:01 | * | BitPuffin quit (Ping timeout: 260 seconds) |
17:44:35 | * | Jesin joined #nimrod |
17:58:41 | * | dapz joined #nimrod |
18:05:49 | * | nande joined #nimrod |
18:06:03 | * | francisl joined #nimrod |
18:15:05 | * | Mat3 joined #nimrod |
18:15:08 | Mat3 | hello |
18:26:35 | * | delian66 quit (Quit: leaving) |
18:27:01 | * | delian66 joined #nimrod |
18:27:25 | * | dirkk0 joined #nimrod |
18:30:22 | * | Ven joined #nimrod |
18:36:40 | * | kuzy000 joined #nimrod |
18:36:53 | * | kuzy000_ quit (Ping timeout: 272 seconds) |
18:46:24 | * | Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
18:47:03 | * | io2 quit (Quit: ...take irc away, what are you? genius, billionaire, playboy, philanthropist) |
18:48:53 | * | Fr4n quit (Ping timeout: 240 seconds) |
18:51:19 | * | Ven joined #nimrod |
19:01:03 | * | dapz quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
19:06:48 | * | Fr4n joined #nimrod |
19:21:07 | * | dyu quit (Quit: Leaving) |
19:23:39 | * | def- joined #nimrod |
19:27:58 | * | brson joined #nimrod |
19:37:18 | * | def- quit (Ping timeout: 272 seconds) |
19:40:39 | * | def- joined #nimrod |
19:44:05 | * | francisl quit (Quit: francisl) |
19:56:04 | * | dirkk0 quit (Quit: Leaving) |
19:58:27 | * | francisl joined #nimrod |
19:59:20 | * | Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
20:01:22 | * | MightyJoe quit (Ping timeout: 272 seconds) |
20:06:09 | * | MightyJoe joined #nimrod |
20:06:27 | * | dapz joined #nimrod |
20:14:23 | * | MightyJoe quit (Read error: Connection reset by peer) |
20:14:53 | * | MightyJoe joined #nimrod |
20:28:34 | * | quasinoxen quit (Remote host closed the connection) |
20:29:18 | * | quasinoxen joined #nimrod |
20:32:01 | Araq | hi Mat3 |
20:32:10 | Mat3 | hi Araq |
20:32:14 | Araq | quiet night :-) |
20:32:28 | Mat3 | yes |
20:32:57 | Mat3 | I have finished my code testing and work now on the C backend |
20:38:47 | Araq | nice |
20:39:02 | * | vendethiel quit (Ping timeout: 245 seconds) |
20:39:05 | * | Matthias247 quit (Read error: Connection reset by peer) |
20:39:27 | * | [CBR]Unspoken2 quit (Ping timeout: 245 seconds) |
20:41:36 | * | vendethiel joined #nimrod |
20:47:57 | * | [CBR]Unspoken1 joined #nimrod |
21:26:23 | * | saml quit (Quit: Leaving) |
21:31:28 | * | bjz_ joined #nimrod |
21:31:33 | * | Ven joined #nimrod |
21:31:34 | * | bjz quit (Read error: Connection reset by peer) |
21:37:31 | * | Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
21:57:11 | * | BlaXpirit quit (Quit: Quit Konversation) |
22:21:52 | * | jasondotstar quit (Quit: Leaving) |
22:24:33 | * | dapz quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
22:27:59 | * | Mat3 quit (Quit: Verlassend) |
22:33:35 | * | vendethiel- joined #nimrod |
22:35:18 | * | vendethiel quit (Read error: Connection reset by peer) |
22:38:21 | * | kuzy000 quit (Read error: Connection reset by peer) |
22:40:20 | * | dapz joined #nimrod |
22:44:55 | * | francisl quit (Ping timeout: 244 seconds) |
22:49:51 | * | dapz quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
22:56:32 | * | dapz joined #nimrod |
23:00:27 | * | kuzy000_ joined #nimrod |
23:14:44 | * | Trustable quit (Quit: Leaving) |
23:15:20 | * | kuzy000_ quit (Ping timeout: 260 seconds) |
23:23:18 | * | francisl joined #nimrod |
23:32:53 | * | bjz_ quit (Ping timeout: 272 seconds) |
23:39:12 | * | darkf joined #nimrod |
23:46:36 | * | Jesin quit (Ping timeout: 260 seconds) |
23:50:42 | * | Fr4n quit (Ping timeout: 245 seconds) |