jQuery very long time generate byte code. #6
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
BeRo1985/besen#6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi BeRo! BESEN is very good!
Sorry my bad english.
I trying make non visual browser with BESEN for executing javascript.
But when i try executing jQuery v1.8.3 procdedure BESENCompiller.GenerateByteCode very long time.
link for this jQuery https://yastatic.net/jquery/1.8.3/jquery.min.js
To check, you can copy the jQuery code in an BESEN IDE and press "F9". On my computer 35sec befor error message.
Also there are some errors when compiling the example in module BESENDecompliler in line
bntUNARYVOIDEXPRESSION:
begin
Add('void'); /// need "space" after "void" --> 'void '
Visit(TBESENASTNodeUnaryVoidExpression(ToVisit).SubExpression);
end;
To check, another error decompiler you may compare JQuery code befor compile and after decompile, BESEN It can not compile a precompiled code.