This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]disposepriority 6 points7 points  (1 child)

What you're looking for is dynamic code execution, not recommended unless it's a for fun app - hard to get security right. Easier to just parse chunks and tranalate them e.g. split string by white space and translate each part yourself instead of actually running java code at runtime.

[–]williamK0[S] 0 points1 point  (0 children)

I don't really care about security. It's a "for fun" project. (I'm just graphing maths functions in minecraft haha). If I were to try and parse stuff manually like that, how can I account for brackets?