|
00:28
Guest33 joined
01:35
librasteve_ left
01:50
arkiuat left
02:04
arkiuat joined
02:11
arkiuat left
02:21
arkiuat joined
02:26
ACfromTX left
02:27
ACfromTX joined
02:28
arkiuat left
02:37
arkiuat joined
02:42
arkiuat left
02:49
arkiuat joined
02:53
arkiuat left
03:06
arkiuat joined
03:37
arkiuat left
03:44
arkiuat joined
03:49
arkiuat left
04:10
arkiuat joined
04:44
stanrifkin_ joined
04:46
stanrifkin left
06:15
arkiuat left
06:26
arkiuat joined
06:30
arkiuat left
06:39
arkiuat joined
06:48
arkiuat left
07:13
arkiuat joined
07:17
arkiuat left
07:29
arkiuat joined
07:34
arkiuat left
07:54
arkiuat joined
08:00
arkiuat left
08:06
arkiuat joined
08:15
arkiuat left
08:19
arkiuat joined
08:24
arkiuat left
08:25
arkiuat joined
08:29
arkiuat left
08:49
arkiuat joined
08:54
arkiuat left
08:55
arkiuat joined
09:01
arkiuat left
09:17
arkiuat joined
09:22
arkiuat left
09:43
arkiuat joined
09:48
arkiuat left
09:58
arkiuat joined
10:03
arkiuat left
10:25
arkiuat joined
10:30
arkiuat left
10:54
arkiuat joined
10:59
arkiuat left,
librasteve_ joined
11:16
arkiuat joined
11:20
arkiuat left
11:33
arkiuat joined
11:37
arkiuat left
11:51
arkiuat joined
11:55
arkiuat left
12:01
arkiuat joined
12:06
arkiuat left
12:21
arkiuat joined
12:26
arkiuat left
12:37
stanrifkin_ left,
arkiuat joined
12:42
arkiuat left
12:59
arkiuat joined
13:06
arkiuat left
13:11
arkiuat joined
13:16
stanrifkin joined
14:25
human-blip left
14:28
human-blip joined
17:02
Guest33 left
17:32
arkiuat left
17:37
arkiuat joined
19:05
cpli left,
korvo joined
19:07
greenfork left
19:08
KOTP left
19:09
greenfork joined,
KOTP joined,
cpli joined
|
|||
| korvo | Hi! I'm trying out Raku in stead of META II for a toy compiler. The grammar feature works wonderfully, and I started with inline action blocks in the grammar; but I've tried to factor out those blocks into a separate class of actions and it's no longer working. | 19:12 | |
| Code is at bpa.st/VPPA . I suspect that I've gotten the syntax of the .parse() call wrong somehow. What did I do wrong, please? | 19:13 | ||
| In case anybody needs it, an example input which parses properly that I'm using for testing: [:obj|^(self clone: self allocator*) assign: "obj*" ref: obj] | 19:14 | ||
| ...Oh, and I realize that I don't have a reputation here yet, so: I'm not using any LLMs or other generative modeling tools. I'm merely trying to compile a little expression language because my angle of repose has slightly increased, and multiple folks have recommended Raku for parsing and lightweight compilers. | 19:18 | ||
| The Rubber Duck effect strikes again. I was missing parens, so that $:actions were being passed to slurp instead of .parse(). Humbling. | 19:33 | ||
| disbot6 | <antononcube> 🐥 | 19:34 | |
|
19:35
jgaz joined
19:36
jgaz left,
jgaz joined
19:37
jgaz left
|
|||
| korvo | Well, thanks for listening. Also thanks for a worthy successor to META II. This is the first enjoyable parser toolkit I've used in a while; I spent almost no time fussing over the Regex tools, found it easy to refactor productions, and am spending most of my time trying to handle strings and lists and I/O. | 19:37 | |
|
19:39
stanrifkin left
|
|||
| disbot6 | <jubilatious1_98524> @korvo congrats on your Raku journey and glad to hear you are making progress. Can I ask you a little about your Vixen Grammar? Does <[A..Za..z*]>+ accept * star as a character? I'm surprised it doesn't need to be escaped. Thx. | 19:58 | |
| korvo | jubilatious1: Yeah! I was mildly surprised that that didn't need to be escaped, but I suppose that <[ is already a pretty strong delimiter. The asterisk convention is inherited from an old language called Self. | 20:00 | |
| disbot6 | <jubilatious1_98524> @korvo: Interesting. I guess you don't use <alpha> because it includes _ underscore. | 21:15 | |
| korvo | I didn't really think about it much. I used the minimal character class that works for what I've already built, and I'll probably expand it further. The main character to exclude is : COLON which indicates whether an identifier is bareword or selector. (This is all in the tradition of Smalltalk, if you'd like further reading.) | 21:18 | |
|
21:46
social joined
21:49
social left
21:51
social joined
22:03
social left
22:06
stanrifkin joined
22:07
social joined
22:09
arkiuat left
22:17
arkiuat joined
22:18
social left
22:19
social joined
22:24
habere-et-disper joined
22:59
habere-et-disper left
23:01
stanrifkin left
|
|||