Reputation: 11
I was working on a project that can translate a simple language.This language translates simple commands like print(hello)
in to System.out.println("hello");
line by line in a .txt file. the template goes like this:
setup()
{
print(hello);
}
setup()
end
Does anyone have any suggestions how this could work?
Upvotes: 1
Views: 36
Reputation: 1599
In general, splitting the problem in parts helps a lot. In your case, there are three main steps:
There are so many tutorials and websites about java, so you can use a searching engine and find tutorials which help you.
Upvotes: 1