Prometheus icon indicating copy to clipboard operation
Prometheus copied to clipboard

Tokenizer upgrade

Open Zaenalos opened this issue 1 year ago • 3 comments

The tokenizer needs a heavy upgrade or full rewrite atleast.

The parser is perfectly fine.

I might push a commit if possible.

Zaenalos avatar Dec 17 '23 11:12 Zaenalos

I made an optimization of the parser using a lookup table with the names of stuff and functions but like yeah the tokenizer is slowwwwwwwww

SpinnySpiwal avatar Dec 18 '23 08:12 SpinnySpiwal

I made an optimization of the parser using a lookup table with the names of stuff and functions but like yeah the tokenizer is slowwwwwwwww

Rewrite coming in next 2-5 days.

Zaenalos avatar Dec 18 '23 09:12 Zaenalos

@Zaenalos Have you made one which can be implemented into this Obfuscator yet? I've been struggling with implementing this version as this Tokenizer weirdly doesn't accept when I use strict types (local int: number = 2) doesn't work for example (With LuaU). Also a lot of the steps in this Obfuscator don't work for LuaU anymore (at least the roblox variant of it)

ericplane avatar Jan 30 '24 16:01 ericplane