!vVDCbufQqGEdAdfclU:matrix.org

neorg treesitter

576 Members
3 Servers

Load older messages


SenderMessageTime
1 Jan 2024
@_discord_83007807036588032:t2bot.iopurewater Or with what money 11:46:17
@_discord_83007807036588032:t2bot.iopurewater 11:46:20
@_discord_83007807036588032:t2bot.iopurewater So how did you do this 11:46:40
@_discord_83007807036588032:t2bot.iopurewater Might give some ideas 11:47:24
@_discord_750666437420384297:t2bot.ioboltless close the open_conflict token with 0 length token made from external scanner at just before the paragraph break 11:47:25
@_discord_83007807036588032:t2bot.iopurewater So if a paragraph breaks, conflicts are killed... That seems reasonable? 11:48:09
@_discord_83007807036588032:t2bot.iopurewater So is the states issue still there? 11:48:53
@_discord_750666437420384297:t2bot.ioboltless no states issue, but parser can’t parse old att-13 test case 11:49:24
@_discord_750666437420384297:t2bot.ioboltless will try more tonight 11:49:28
@_discord_83007807036588032:t2bot.iopurewater 11:49:35
@_discord_83007807036588032:t2bot.iopurewater Well my 2 hours to look at it just disappeared so I'm only hear to encourage for now until I get more time 😭 11:50:11
@_discord_83007807036588032:t2bot.iopurewater Oh well I think the reason it's failing is obvious
Att-13 expects all of those open conflicts to not be closed
11:57:06
@_discord_83007807036588032:t2bot.iopurewater But you are closing them with your solution 11:57:25
@_discord_83007807036588032:t2bot.iopurewater Which is maybe fair bc you should probably want markup to extend beyond paragraphs? 11:58:39
@_discord_133653712748019712:t2bot.iolaggytoast joined the room.11:59:15
@_discord_83007807036588032:t2bot.iopurewater OK but that's at least interesting that removing the conflict before a paragraph break significantly reduced parser size 12:00:27
@_discord_783655191953670214:t2bot.io.vhyrro maybe you could build off of the broken solution somehow? 12:11:48
@_discord_783655191953670214:t2bot.io.vhyrro the reason ts is absolutely exploding is because it tries to evaluate every. single. possible state that could occur from a specific node. We need to find a way to tell treesitter "calm down, there won't be more nodes here". 12:12:45
@_discord_783655191953670214:t2bot.io.vhyrro which seems to me like you managed to succeed in 12:12:51
@_discord_783655191953670214:t2bot.io.vhyrro (partially) 12:12:54
@_discord_783655191953670214:t2bot.io.vhyrro I would definitely try that idea and see if we can build off of it. is only att-13 failing? 12:13:05
@_discord_783655191953670214:t2bot.io.vhyrro wait this could explain a lot now that i'm reading it 12:16:25
@_discord_783655191953670214:t2bot.io.vhyrro because 236K does sound very ludicrous 12:16:55
@_discord_750666437420384297:t2bot.ioboltless Solved the att-13 case 12:19:29
@_discord_750666437420384297:t2bot.ioboltless Will do more tests after a hour 12:20:22
@_discord_783655191953670214:t2bot.io.vhyrro and it's still smol? 12:21:52
@_discord_750666437420384297:t2bot.ioboltless Yep 12:25:41
@_discord_783655191953670214:t2bot.io.vhyrro that's insane 12:25:48
@_discord_783655191953670214:t2bot.io.vhyrro this literally puts us on par with the org parser 12:26:41
@_discord_750666437420384297:t2bot.ioboltless Currently out of battery + i have evening roll call soon 🪖 12:26:41

Show newer messages


Back to Room ListRoom Version: 9