comparison paste/paste.9977 @ 803:3b1b07d2b34c

<elliott> pastelogs ZOMGMODULES
author HackBot
date Wed, 17 Oct 2012 23:25:39 +0000
parents
children
comparison
equal deleted inserted replaced
802:5348f427bec2 803:3b1b07d2b34c
1 2011-04-05.txt:19:06:09: <elliott> not having ZOMGMODULES?
2 2011-04-05.txt:19:08:17: <cpressey> from ZOMGMODULES import WINNING
3 2011-04-05.txt:19:33:14: -!- ph0ntohpiliac is now known as ZOMGMODULES.
4 2011-04-05.txt:19:33:23: <ZOMGMODULES> why are none of these fantastic nicks taken
5 2011-04-05.txt:19:33:54: <elliott> ZOMGMODULES: i propose you snatch up one-honking-great-idea while it's still available
6 2011-04-05.txt:19:35:09: -!- ZOMGMODULES is now known as EnjoyBeingLocked.
7 2011-04-05.txt:19:55:11: -!- EnjoyBeingLocked is now known as ZOMGMODULES.
8 2011-04-05.txt:19:56:12: <ZOMGMODULES> elliott: depends on the language
9 2011-04-05.txt:19:56:20: <elliott> ZOMGMODULES: C
10 2011-04-05.txt:19:56:29: <ZOMGMODULES> i dunno man, should be relaxing
11 2011-04-05.txt:19:56:47: <ZOMGMODULES> it's like drumming... it has a cadence
12 2011-04-05.txt:19:57:01: <ZOMGMODULES> THIS IS THE WISDOM OF ZOMGMODULES. HEED IT
13 2011-04-05.txt:19:57:37: <ZOMGMODULES> your grammar is pretty much established?
14 2011-04-05.txt:19:57:58: <ZOMGMODULES> you wrote it out? on paper?
15 2011-04-05.txt:19:58:04: <elliott> ZOMGMODULES: well, the bootstrap grammar is pretty much established. i'm not going to try fun stuff until i rewrite the compiler in the language.
16 2011-04-05.txt:19:58:41: <ZOMGMODULES> you need to write it out, preferably on paper but also in a comment block at the top of the source is acceptable, or it won't be relaxing.
17 2011-04-05.txt:19:59:10: <ZOMGMODULES> this is the wisdom
18 2011-04-05.txt:19:59:45: <elliott> ZOMGMODULES: pretty impressive ass you have there, with all the ideas you pull out of it ;;;;::DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDdddddddddddd
19 2011-04-05.txt:20:03:03: <elliott> ZOMGMODULES: with yacc-like things, if you have like, [a; b; c] and {a; b; c} both as blocks
20 2011-04-05.txt:20:04:56: * ZOMGMODULES ACKNOWLEDGES NOT THESE "YACC-LIKE THINGS"
21 2011-04-05.txt:20:05:15: <elliott> ZOMGMODULES: I WOULD LIKE TO SEE YOU WRITE THIS PARSER RECURSIVE-DESCENT
22 2011-04-05.txt:20:07:19: <ZOMGMODULES> void parse() { if(tokeq("["){expect("["); parse_list(); expect("]");} else if (tokeq("{"){expect("{"); parse_list(); expect("}");} else error(); }
23 2011-04-05.txt:20:07:28: <elliott> ZOMGMODULES: no i don't mean that
24 2011-04-05.txt:20:07:56: <ZOMGMODULES> void parse_list() { parse_elem(); while(tokeq(";")){ expect(";"); parse_elem(); } }
25 2011-04-05.txt:20:09:02: <ZOMGMODULES> i'd love to, it's very relaxing. unfortunately, can't spend all day here
26 2011-04-05.txt:20:09:19: <ZOMGMODULES> though 'dem smalltalk thangles' is a little underspecified for my taste
27 2011-04-05.txt:20:09:55: <elliott> ZOMGMODULES: message is expr messagepart*
28 2011-04-05.txt:20:12:29: <ZOMGMODULES> i would just accept ident or ident: interchangeably and filter out the bad stuff at the static analysis phase
29 2011-04-05.txt:20:12:33: <ZOMGMODULES> if that's legal
30 2011-04-05.txt:20:12:41: <elliott> ZOMGMODULES: oh that's not the problem
31 2011-04-05.txt:20:12:51: <ZOMGMODULES> hey,... ghci's "let" does something like that, right oerjan?
32 2011-04-05.txt:20:13:02: <ZOMGMODULES> if it's good enough for ghci it's good enough for me
33 2011-04-05.txt:20:13:19: <ZOMGMODULES> elliott: that's a dumb grammar
34 2011-04-05.txt:20:13:25: <elliott> ZOMGMODULES: that's smalltalk
35 2011-04-05.txt:20:13:33: <elliott> ZOMGMODULES: really :s are banned in identifiers altogether
36 2011-04-05.txt:20:13:36: <elliott> ZOMGMODULES: it's just that they're valid _symbols_
37 2011-04-05.txt:20:13:37: <ZOMGMODULES> "That's our Smalltalk!"
38 2011-04-05.txt:20:13:43: * ZOMGMODULES canned laughter
39 2011-04-05.txt:20:14:19: <ZOMGMODULES> this is pretty much why i never got into smalltalk
40 2011-04-05.txt:20:14:30: <ZOMGMODULES> this very part of it seemed unnecessarily brutal
41 2011-04-05.txt:20:14:42: <ZOMGMODULES> :'s
42 2011-04-05.txt:20:14:58: <elliott> ZOMGMODULES: hmm, i dunno
43 2011-04-05.txt:20:15:34: <ZOMGMODULES> my brain just does not think like that
44 2011-04-05.txt:20:16:02: <elliott> ZOMGMODULES: well, it's nicer than /python's/ approach to the "argument positions are meaningless" problem.
45 2011-04-05.txt:20:16:05: <ZOMGMODULES> using the same label mechanism for all those things
46 2011-04-05.txt:20:16:26: <ZOMGMODULES> that's ok. it's been a long time and i don't remember
47 2011-04-05.txt:20:22:06: <ZOMGMODULES> I do not know if I agree with the sentiment that adding a random number to every character in your program and interpreting it as Perl counts as your language being "Turing-complete"
48 2011-04-05.txt:20:26:12: <oerjan> <ZOMGMODULES> hey,... ghci's "let" does something like that, right oerjan? <-- well that's what it looked like...
49 2011-04-05.txt:20:26:26: <elliott> ZOMGMODULES: look at dat lack of braces
50 2011-04-05.txt:20:27:57: <ZOMGMODULES> C needs a ";;" operator that is a high-precedence ";" to avoid the need for braces
51 2011-04-05.txt:20:28:10: <elliott> ZOMGMODULES: and we could call it ocaml
52 2011-04-05.txt:20:28:12: <ZOMGMODULES> if (x==y) printf("hi") ;; printf("there")
53 2011-04-05.txt:20:28:30: <ZOMGMODULES> oh uh
54 2011-04-05.txt:20:28:31: <ZOMGMODULES> SURWE
55 2011-04-05.txt:20:28:34: <ZOMGMODULES> *SURE
56 2011-04-05.txt:20:28:43: <ZOMGMODULES> the more ;'s the higher the precedence
57 2011-04-05.txt:20:29:11: <ZOMGMODULES> yeah that's not quite my vision
58 2011-04-05.txt:20:37:33: <ZOMGMODULES> they do research on viewpoints
59 2011-04-05.txt:20:37:56: <ZOMGMODULES> "We found that a certain percentage of the population hold one opinion, while the rest hold another."
60 2011-04-05.txt:20:38:14: <elliott> ZOMGMODULES: careful. alan kay might punch you
61 2011-04-05.txt:20:38:15: <Phantom_Hoover> Who's ZOMGMODULES
62 2011-04-05.txt:20:38:24: * ZOMGMODULES IS ZOMGMODULES
63 2011-04-05.txt:20:38:43: <ZOMGMODULES> Phantom_Hoover YOU ASK A LOT OF QUESTIONS
64 2011-04-05.txt:20:39:59: <ZOMGMODULES> Phantom_Hoover PERHAPS YOU SHOULD TRY /whois
65 2011-04-05.txt:20:40:25: <Phantom_Hoover> ZOMGMODULES!
66 2011-04-05.txt:20:40:25: <elliott> ZOMGMODULES: wait your name is Christopher? kinda assumed you were always just Chris THIS IS LOGICAL OK
67 2011-04-05.txt:20:41:11: <olsner> who's ZOMGMODULES?
68 2011-04-05.txt:20:42:35: <ZOMGMODULES> elliott: parents who put just "Chris" on a birth certificate are... like parents who put just "Bob" on a birth certificate.
69 2011-04-05.txt:20:42:35: <Phantom_Hoover> ZOMGMODULES, you're named after a werewolf.
70 2011-04-05.txt:20:42:44: <elliott> ZOMGMODULES: So, like your parents then?
71 2011-04-05.txt:20:42:52: <elliott> `addquote <ZOMGMODULES> elliott: parents who put just "Chris" on a birth certificate are... like parents who put just "Bob" on a birth certificate.
72 2011-04-05.txt:20:42:55: <HackEgo> 351) <ZOMGMODULES> elliott: parents who put just "Chris" on a birth certificate are... like parents who put just "Bob" on a birth certificate.
73 2011-04-05.txt:20:43:04: <ZOMGMODULES> that was quotable?
74 2011-04-05.txt:20:43:50: <ZOMGMODULES> elliott: Topher Grace?
75 2011-04-05.txt:20:44:31: <ZOMGMODULES> Phantom_Hoover: Which werewolf would that be?
76 2011-04-05.txt:20:44:52: <Phantom_Hoover> ZOMGMODULES, St. Christopher, saint and werewolf.
77 2011-04-05.txt:20:45:00: <ZOMGMODULES> Phantom_Hoover: this is news to me
78 2011-04-05.txt:20:45:16: <elliott> `addquote <Phantom_Hoover> ZOMGMODULES, St. Christopher, saint and werewolf.
79 2011-04-05.txt:20:45:17: <HackEgo> 352) <Phantom_Hoover> ZOMGMODULES, St. Christopher, saint and werewolf.
80 2011-04-05.txt:20:51:27: <ZOMGMODULES> Not Ørjanette?
81 2011-04-05.txt:20:52:43: <oerjan> ZOMGMODULES: hm that might also work
82 2011-04-05.txt:20:56:28: <elliott> ZOMGMODULES: IS THAT RIGHT, O WISE RECURSIVELY-DESCENDING MASTER
83 2011-04-05.txt:21:00:18: <ZOMGMODULES> elliott I AM STILL TRYING TO WRAP MY HEAD AROUND THE ENGLISH GROUP
84 2011-04-05.txt:21:01:56: <ZOMGMODULES> elliott: does your accept() have a side-effect
85 2011-04-05.txt:21:02:05: <elliott> ZOMGMODULES: accept() is
86 2011-04-05.txt:21:03:00: <ZOMGMODULES> huh. i always use expect(), and never accept()
87 2011-04-05.txt:21:03:12: <ZOMGMODULES> i use tokeq() which doesn't consume
88 2011-04-05.txt:21:03:17: <ZOMGMODULES> fewer side-effects in tests
89 2011-04-05.txt:21:03:18: <elliott> ZOMGMODULES: well i copied accept() from wikipedia :) but accept is actually quite nice i think
90 2011-04-05.txt:21:03:30: <ZOMGMODULES> if you like side-effects in tests, SURE
91 2011-04-05.txt:21:03:42: <elliott> ZOMGMODULES: if (ident() && accept(COLON) && expr()) return 1;
92 2011-04-05.txt:21:03:52: <elliott> ZOMGMODULES: (ok so that wouldn't be as nice-looking in practice cuz you have to build an ast, but that's not bad)
93 2011-04-05.txt:21:04:51: <elliott> ZOMGMODULES: PRETTY
94 2011-04-05.txt:21:08:00: <ZOMGMODULES> wow, I took almost all day to come up with two lines of code
95 2011-04-05.txt:21:08:49: <elliott> ZOMGMODULES: http://sprunge.us/iQeM hey this grammar is actually pretty simple
96 2011-04-05.txt:21:09:56: <ZOMGMODULES> if your tests consume tokens, you won't have infinite loops
97 2011-04-05.txt:21:10:24: <ZOMGMODULES> at least you have THAT assurance, with those side-effects
98 2011-04-05.txt:21:10:38: <elliott> ZOMGMODULES: i'm practically a nazi
99 2011-04-05.txt:21:10:50: <ZOMGMODULES> expects are... more like exit()s in C
100 2011-04-05.txt:21:11:05: <elliott> ZOMGMODULES: right but like if you have a
101 2011-04-05.txt:21:11:10: <ZOMGMODULES> unless you do some fancy catching thing with them
102 2011-04-05.txt:21:11:18: <ZOMGMODULES> in which case they're more like throw
103 2011-04-05.txt:21:11:52: <ZOMGMODULES> you will eventually run out of tokens
104 2011-04-05.txt:21:12:02: <elliott> ZOMGMODULES: accept doesn't consume if it doesn't match
105 2011-04-05.txt:21:12:12: <ZOMGMODULES> oh, right
106 2011-04-05.txt:21:12:46: <ZOMGMODULES> THAT IS WHY ZOMGMODULES USES IT ALMOST EXCLUSIVELY
107 2011-04-05.txt:21:12:53: <elliott> ZOMGMODULES: GOOD ADVICE
108 2011-04-05.txt:21:13:07: <ZOMGMODULES> I even do things like { if tokeq(";") { expect(";"); ... } }
109 2011-04-05.txt:21:13:22: <ZOMGMODULES> simplicity > efficiency
110 2011-04-05.txt:21:13:58: <elliott> ZOMGMODULES: um but that's exactly what accept is :D
111 2011-04-05.txt:21:14:06: <ZOMGMODULES> yes
112 2011-04-05.txt:21:14:22: <ZOMGMODULES> that's why accept is an UNNECESSARY
113 2011-04-05.txt:21:14:55: <elliott> ZOMGMODULES: BLAHHH
114 2011-04-05.txt:21:15:08: <ZOMGMODULES> also, ...
115 2011-04-05.txt:21:15:19: <elliott> ZOMGMODULES: so your routines, do they call the tokeniser or does the tokeniser call it?
116 2011-04-05.txt:21:15:35: <ZOMGMODULES> void parse_foo() { expect("foo"); } void parse_bar() { if (tokeq("foo")) parse_foo(); }
117 2011-04-05.txt:21:16:27: <elliott> ZOMGMODULES: actually with recursive descent the latter would only be possible with continuations i think :D
118 2011-04-05.txt:21:16:29: <ZOMGMODULES> elliott: I call the tokenizer, generally
119 2011-04-05.txt:21:16:34: <ZOMGMODULES> elliott: you got it
120 2011-04-05.txt:21:16:41: <ZOMGMODULES> elliott: with something continuation-like, anyway
121 2011-04-05.txt:21:16:44: <elliott> ZOMGMODULES: which means: we need that C continuation lib!
122 2011-04-05.txt:21:16:55: <elliott> ZOMGMODULES: I APPROVE OF MY PROBLEM-SOLVING METHOD
123 2011-04-05.txt:21:17:02: <ZOMGMODULES> once, in Erlang, I did neither. I had the lexer and parser be seperate processes which messaged each other
124 2011-04-05.txt:21:17:22: <elliott> ZOMGMODULES: that's ... almost beautifully hideous
125 2011-04-05.txt:21:21:56: <elliott> ZOMGMODULES: so does writing a compiler that compiles to machine code hurts?
126 2011-04-05.txt:21:29:58: <ZOMGMODULES> tswettbot: you rock
127 2011-04-05.txt:21:30:12: * ZOMGMODULES is hoping a dozen debug windows just opened up for tswett
128 2011-04-05.txt:21:30:47: <ZOMGMODULES> < elliott> ZOMGMODULES: so does writing a compiler that compiles to machine code hurts? <-- no, not really... depends, I guess
129 2011-04-05.txt:21:31:33: <elliott> ZOMGMODULES: yeah but my compiler has to have, liek, two backends!
130 2011-04-05.txt:21:31:42: <elliott> ZOMGMODULES: x86-64/linux and x86-64/NOTHING
131 2011-04-05.txt:21:32:23: <ZOMGMODULES> elliott: then it's not, generally speaking, that painful... everything is partitioned nicely.
132 2011-04-05.txt:21:32:31: <ZOMGMODULES> lexer, parser, ast, codegen.
133 2011-04-05.txt:21:32:42: <elliott> ZOMGMODULES: oh the compiler parts don't scare me.
134 2011-04-05.txt:21:32:53: <ZOMGMODULES> it's if you want to do it all "narrow" where it gets hairy
135 2011-04-05.txt:21:33:13: <ZOMGMODULES> nothing too painful about generating x86 code, is there?
136 2011-04-05.txt:21:33:21: <elliott> ZOMGMODULES: well no. but i want mnemonics!
137 2011-04-05.txt:21:33:36: <ZOMGMODULES> you want to generate assembler?
138 2011-04-05.txt:21:34:07: <elliott> ZOMGMODULES: no.
139 2011-04-05.txt:21:34:17: <elliott> ZOMGMODULES: i want to generate machine code using an assembler-ish dsl
140 2011-04-05.txt:21:34:20: <ZOMGMODULES> then you lost me at "mnemonics"
141 2011-04-05.txt:21:34:54: <ZOMGMODULES> then you (in effect) want to write an assembler, and generate assembly for that assembler
142 2011-04-05.txt:21:35:07: <elliott> ZOMGMODULES: yes. that's true. but i don't want to _generate_ it, i want to invoke its routines directly.
143 2011-04-05.txt:21:35:16: <elliott> ZOMGMODULES: and the assembler doesn't actually have to be convenient...
144 2011-04-05.txt:21:35:52: <ZOMGMODULES> elliott: then you are writing a codegen.
145 2011-04-05.txt:21:36:22: <ZOMGMODULES> a codegen with an API whose entry points have names that mnemonics. much like, well, every API
146 2011-04-05.txt:21:36:27: <ZOMGMODULES> *that are
147 2011-04-05.txt:21:37:12: <ZOMGMODULES> there are many codegens that let you switch out backends to target a different architecture. if that's what you're saying
148 2011-04-05.txt:21:37:21: <elliott> ZOMGMODULES: no no no.
149 2011-04-05.txt:21:38:22: <ZOMGMODULES> elliott: I've basically coded that API (in C, not Smalltalk)
150 2011-04-05.txt:21:38:50: <elliott> ZOMGMODULES: sure. it's easy enough for a subset. just IDEALLY i'd generate it from the big instruction table things :)
151 2011-04-05.txt:21:39:23: <ZOMGMODULES> generating it from an instruction table, yes: I've never done that and it would have some nice to it.
152 2011-04-05.txt:21:39:53: * ZOMGMODULES SAYS ONLY EXACTLY WHAT ZOMGMODULES MEANS
153 2011-04-05.txt:21:40:18: * ZOMGMODULES DISMISSES TSWETTBOT!!!!
154 2011-04-05.txt:21:40:25: <ais523> wow, ZOMGMODULES fits better in here than most of the regulars
155 2011-04-05.txt:21:52:54: <ZOMGMODULES> I dismiss you, livejournal.
156 2011-04-05.txt:21:53:17: <elliott> ZOMGMODULES: lots of cool people use livejournal. i'm not sure why.
157 2011-04-05.txt:22:01:36: <ZOMGMODULES> tswettbot8: HOW'S IT GOING, MAN
158 2011-04-05.txt:22:05:13: <elliott> ZOMGMODULES: please advise
159 2011-04-05.txt:22:08:39: <ZOMGMODULES> how can you expect a debugger to be bug-free
160 2011-04-05.txt:22:08:51: <ZOMGMODULES> at least smalltalk has the foresight to try to debug it
161 2011-04-05.txt:22:09:04: <ZOMGMODULES> with
162 2011-04-05.txt:22:09:06: <ZOMGMODULES> itself
163 2011-04-05.txt:22:09:19: <elliott> ZOMGMODULES: what do asts look like again
164 2011-04-05.txt:22:09:29: <ZOMGMODULES> elliott: ...
165 2011-04-05.txt:22:09:33: <ZOMGMODULES> TREES
166 2011-04-05.txt:22:09:36: <ZOMGMODULES> they look like TREES
167 2011-04-05.txt:22:10:09: <elliott> ZOMGMODULES: i'm only half joking, why doesn't c have support for data structures :/
168 2011-04-05.txt:22:10:28: <ZOMGMODULES> C has fine support for sexprs once you code them up
169 2011-04-05.txt:22:10:43: <ZOMGMODULES> well
170 2011-04-05.txt:22:11:12: <ZOMGMODULES> i usually end up with a hideous enum and a union of structs, but I'm usually not aiming for the simplest kind of data structure
171 2011-04-05.txt:22:11:27: <elliott> ZOMGMODULES: well it's just... does that e--
172 2011-04-05.txt:22:12:10: <ZOMGMODULES> elliott: if you are trying to code objects in C, that's your own damn fault
173 2011-04-05.txt:22:12:15: <elliott> ZOMGMODULES: i'm not i'm not
174 2011-04-05.txt:22:12:44: <ZOMGMODULES> struct expr { struct expr *lhs; struct expr *rhs; char *op; }
175 2011-04-05.txt:22:12:48: <ZOMGMODULES> there's your ast
176 2011-04-05.txt:22:13:04: <ZOMGMODULES> NULL
177 2011-04-05.txt:22:50:07: <ZOMGMODULES> hey tswettbot,
178 2011-04-05.txt:22:50:20: <ZOMGMODULES> hey tswettbot, say
179 2011-04-05.txt:22:50:35: <tswett> ZOMGMODULES: the space on the end is necessary.
180 2011-04-05.txt:22:50:43: <ZOMGMODULES> hey tswettbot, say I dismiss you, tswettbot.
181 2011-04-05.txt:22:51:03: <ZOMGMODULES> I made it ragequit!
182 2011-04-05.txt:22:53:41: <ZOMGMODULES> 1-based indexing, huh
183 2011-04-05.txt:22:53:57: <ZOMGMODULES> DOES IT CONFLATE THEM WITH DICTIONARIES LIKE LUA
184 2011-04-05.txt:22:54:05: <elliott> ZOMGMODULES: NO
185 2011-04-05.txt:22:54:05: <ZOMGMODULES> BECAUSE THAT IS SOOOOOO AWESOME
186 2011-04-05.txt:22:54:10: <elliott> ZOMGMODULES: hey wait
187 2011-04-05.txt:22:54:21: <ZOMGMODULES> YES
188 2011-04-05.txt:22:54:23: <ZOMGMODULES> YES YES YES
189 2011-04-05.txt:22:57:01: <ZOMGMODULES> THIS IS HOW CHILDREN LEARN
190 2011-04-05.txt:22:57:27: <elliott> everything cp... ZOMGMODULES says sounds better in caps
191 2011-04-05.txt:23:00:52: <ZOMGMODULES> soooooooooo........ there's this code, that is never called by these unit tests. but changing the code causes the unit tests to fail.
192 2011-04-05.txt:23:01:43: <ZOMGMODULES> oh, no. i had wrong method. whew.
193 2011-04-05.txt:23:02:01: <elliott> ZOMGMODULES: :D
194 2011-04-05.txt:23:15:40: <ZOMGMODULES> |help
195 2011-04-05.txt:23:15:41: <storkbot> ZOMGMODULES: Help is available for: assignment expressions print goto tell source errors
196 2011-04-05.txt:23:15:46: <ZOMGMODULES> |errors
197 2011-04-05.txt:23:15:47: <storkbot> ZOMGMODULES: Unknown command. Type '|help' for help.
198 2011-04-05.txt:23:15:50: <ZOMGMODULES> |help errors
199 2011-04-05.txt:23:15:50: <storkbot> ZOMGMODULES: To get more interesting error messages, set ~/errmsgs=snark.
200 2011-04-05.txt:23:15:59: <ZOMGMODULES> |~/errmsgs=snark
201 2011-04-05.txt:23:16:00: <storkbot> ZOMGMODULES: snark
202 2011-04-05.txt:23:16:05: <ZOMGMODULES> |foo
203 2011-04-05.txt:23:16:06: <storkbot> ZOMGMODULES: That's wonderful for you!
204 2011-04-05.txt:23:16:23: <ZOMGMODULES> |poop
205 2011-04-05.txt:23:16:24: <storkbot> ZOMGMODULES: What is this I don't even
206 2011-04-05.txt:23:16:32: <ZOMGMODULES> |save
207 2011-04-05.txt:23:16:32: <storkbot> ZOMGMODULES: State saved.
208 2011-04-05.txt:23:16:35: <ZOMGMODULES> storkbot: YOU LIE
209 2011-04-05.txt:23:16:36: <storkbot> ZOMGMODULES: That's wonderful for you!
210 2011-04-05.txt:23:17:23: <ZOMGMODULES> and the scary thing is that that feature requires lua 5.1
211 2011-04-05.txt:23:17:26: <elliott> ZOMGMODULES: needs moar errors
212 2011-04-05.txt:23:17:30: <elliott> ZOMGMODULES: can you let us define our own errmsgs
213 2011-04-05.txt:23:17:52: <ZOMGMODULES> |~/errmsgs=('That's stupid.'; 'You''re stupid.')
214 2011-04-05.txt:23:17:53: <storkbot> ZOMGMODULES: ('That's stupid.'; 'You''re stupid.')
215 2011-04-05.txt:23:18:09: <ZOMGMODULES> |true that
216 2011-04-05.txt:23:18:09: <storkbot> ZOMGMODULES: Unknown command. Type '|help' for help.
217 2011-04-05.txt:23:18:15: <ZOMGMODULES> not hard to implement
218 2011-04-05.txt:23:18:16: <ZOMGMODULES> ANYWAY
219 2011-04-05.txt:23:18:23: <ZOMGMODULES> storkbot: DIE DIE
220 2011-04-05.txt:23:18:24: <storkbot> ZOMGMODULES: Unknown command. Type '|help' for help.
221 2011-04-05.txt:23:18:30: <ZOMGMODULES> storkbot: helllllp
222 2011-04-05.txt:23:18:31: <storkbot> ZOMGMODULES: Unknown command. Type '|help' for help.
223 2011-04-05.txt:23:18:36: <ZOMGMODULES> storkbot: help
224 2011-04-05.txt:23:18:36: <storkbot> ZOMGMODULES: Help is available for: assignment expressions print goto tell source errors
225 2011-04-05.txt:23:18:44: <ZOMGMODULES> storkbot: help goto
226 2011-04-05.txt:23:18:44: <storkbot> ZOMGMODULES: To evaluate a string as a command, issue 'goto command'. This discards control context.
227 2011-04-05.txt:23:18:53: <ZOMGMODULES> storkbot: goto help
228 2011-04-05.txt:23:18:53: <storkbot> ZOMGMODULES: Help is available for: assignment expressions print goto tell source errors
229 2011-04-05.txt:23:18:58: <ZOMGMODULES> oh yeah, THIS bot.
230 2011-04-05.txt:23:19:02: <ZOMGMODULES> ok
231 2011-04-05.txt:23:19:12: * ZOMGMODULES shuffles over to the other monitor
232 2011-04-05.txt:23:19:26: <ZOMGMODULES> good night
233 2011-04-05.txt:23:19:35: -!- ZOMGMODULES is now known as storkbot.
234 2011-04-05.txt:23:56:16: -!- ZOMGMODULES has joined #esoteric.
235 2011-04-05.txt:23:56:21: <elliott> ZOMGMODULES: hi!
236 2011-04-05.txt:23:56:25: <ZOMGMODULES> ZOMG HI
237 2011-04-05.txt:23:56:28: <elliott> ZOMGMODULES: plz not to be suing me for what i've done
238 2011-04-05.txt:23:56:47: <ZOMGMODULES> WHAT HAVE YOU DONE
239 2011-04-05.txt:23:56:56: <elliott> ZOMGMODULES: DECIDED TO MAKE A BOT THAT'S ALL THAT STORKBOT COULD BE
240 2011-04-05.txt:23:57:01: <ZOMGMODULES> :(
241 2011-04-05.txt:23:57:08: <ZOMGMODULES> what does that mean, though?
242 2011-04-05.txt:23:57:19: <ZOMGMODULES> or when lambdabot's here, use it
243 2011-04-05.txt:23:57:46: <ZOMGMODULES> i nurture it... on and off
244 2011-04-05.txt:23:57:58: <ZOMGMODULES> i don't think it's a language yet exactly
245 2011-04-05.txt:23:58:19: <ZOMGMODULES> total agreement
246 2011-04-05.txt:23:58:46: <ZOMGMODULES> i was going to... implement persistence
247 2011-04-05.txt:23:58:59: <ZOMGMODULES> except now i look at its lua source code and i hate it... oh hi storkbot
248 2011-04-05.txt:23:59:09: <ZOMGMODULES> |~/
249 2011-04-05.txt:23:59:10: <storkbot> ZOMGMODULES:
250 2011-04-05.txt:23:59:15: <ZOMGMODULES> |~/*
251 2011-04-05.txt:23:59:15: <storkbot> ZOMGMODULES: Unknown command. Type '|help' for help.
252 2011-04-05.txt:23:59:21: <elliott> ZOMGMODULES: AWESOME Y/N
253 2011-04-05.txt:23:59:37: <ZOMGMODULES> i was thinking about how to distinguish commands from variables
254 2011-04-05.txt:23:59:45: <ZOMGMODULES> i have no idea
255 2011-04-06.txt:00:00:09: <ZOMGMODULES> yesh, it kind of drifting in that direction
256 2011-04-06.txt:00:00:17: <ZOMGMODULES> all variables are variables that can expand themselves
257 2011-04-06.txt:00:00:23: <ZOMGMODULES> said expansion is execution
258 2011-04-06.txt:00:01:09: <ZOMGMODULES> |goto ~/send
259 2011-04-06.txt:00:01:10: <storkbot> ZOMGMODULES:
260 2011-04-06.txt:00:01:21: <ZOMGMODULES> |~/send=help
261 2011-04-06.txt:00:01:22: <storkbot> ZOMGMODULES: help
262 2011-04-06.txt:00:01:26: <ZOMGMODULES> |~/send
263 2011-04-06.txt:00:01:26: <storkbot> ZOMGMODULES: help
264 2011-04-06.txt:00:01:32: <ZOMGMODULES> |goto ~/send
265 2011-04-06.txt:00:01:32: <storkbot> ZOMGMODULES: help
266 2011-04-06.txt:00:01:35: <ZOMGMODULES> :(
267 2011-04-06.txt:00:01:36: <elliott> ZOMGMODULES: that seems broken a bit to me
268 2011-04-06.txt:00:01:55: <ZOMGMODULES> i thought it did -- not with | though
269 2011-04-06.txt:00:02:11: <ZOMGMODULES> goto should totally derefence
270 2011-04-06.txt:00:02:28: <ZOMGMODULES> oh wait
271 2011-04-06.txt:00:02:30: <ZOMGMODULES> |help exp
272 2011-04-06.txt:00:02:30: <storkbot> ZOMGMODULES: All items in [brackets] are replaced by their value, in a recursive, depth-first manner.
273 2011-04-06.txt:00:02:46: <ZOMGMODULES> |[~/send]
274 2011-04-06.txt:00:02:46: <storkbot> ZOMGMODULES: Help is available for: assignment expressions print goto tell source errors
275 2011-04-06.txt:00:02:51: <ZOMGMODULES> see
276 2011-04-06.txt:00:02:57: <ZOMGMODULES> execute = []
277 2011-04-06.txt:00:03:04: <elliott> ZOMGMODULES: but but
278 2011-04-06.txt:00:03:23: <ZOMGMODULES> |~/send=~/send
279 2011-04-06.txt:00:03:23: <storkbot> ZOMGMODULES: ~/send
280 2011-04-06.txt:00:03:27: <ZOMGMODULES> |[~/send]
281 2011-04-06.txt:00:03:27: <storkbot> ZOMGMODULES: ~/send
282 2011-04-06.txt:00:03:34: <ZOMGMODULES> |goto [~/send]
283 2011-04-06.txt:00:03:34: <storkbot> ZOMGMODULES: ~/send
284 2011-04-06.txt:00:03:43: <ZOMGMODULES> |~/send=goto ~/send
285 2011-04-06.txt:00:03:43: <storkbot> ZOMGMODULES: goto ~/send
286 2011-04-06.txt:00:03:46: <ZOMGMODULES> |[~/send]
287 2011-04-06.txt:00:03:46: <storkbot> ZOMGMODULES: goto ~/send
288 2011-04-06.txt:00:03:58: <ZOMGMODULES> |~/send=[goto ~/send]
289 2011-04-06.txt:00:03:59: <storkbot> ZOMGMODULES: goto ~/send
290 2011-04-06.txt:00:04:02: <ZOMGMODULES> |[~/send]
291 2011-04-06.txt:00:04:02: <storkbot> ZOMGMODULES: goto ~/send
292 2011-04-06.txt:00:04:04: <ZOMGMODULES> grrrr
293 2011-04-06.txt:00:04:24: <ZOMGMODULES> i think currently expansion is SOMETIMES
294 2011-04-06.txt:00:04:54: <ZOMGMODULES> i totally figured out how to do a loop in this, once
295 2011-04-06.txt:00:05:11: <ZOMGMODULES> |/global=hi
296 2011-04-06.txt:00:05:11: <storkbot> ZOMGMODULES: hi
297 2011-04-06.txt:00:05:15: <ZOMGMODULES> |/global
298 2011-04-06.txt:00:05:15: <storkbot> ZOMGMODULES: hi
299 2011-04-06.txt:00:05:19: <ZOMGMODULES> |ls
300 2011-04-06.txt:00:05:19: <storkbot> ZOMGMODULES: Unknown command. Type '|help' for help.
301 [too many lines; stopping]