Skip to content

Question: is it possible to store source code in bytecode? #213

@e2iplayer

Description

@e2iplayer

How complex it will be to add to store source of function/class etc to bytecode?
To get valid source code when .toString() is called when code was loaded from bytecode?

Let say. I have js code like this:

function test()
{
    alert("ab");
}

print(test.toString())

When it will be compile it to bytecode and then run the output will not be as expected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions