All Questions
Tagged with machine-code java
4 questions
2
votes
4
answers
337
views
Meaning of Machine in Compiler Theory
Can anyone tell me what does "machine" means in Compiler Theory? Does it mean computer in general or operating system? Actually, the problem is I understand the definition of machine language as "the ...
1
vote
1
answer
972
views
How does an optimizing compiler react to a program with nested loops?
Say you have a bunch of nested loops.
public void testMethod() {
for(int i = 0; i<1203; i++){
//some computation
for(int k=2; k<123; k++){
//...
1
vote
2
answers
696
views
Is it possible to implement a native compiler for a 'managed language' such as Java?
In most cases, it is possible to create both a native compiler and an interpreter for a programming language. The compiler would simply convert the source code to machine code, and the interpreter ...
1
vote
1
answer
1k
views
Creating a very basic compiler using Java
I want to try and create my own very basic language, with it's very basic compiler. All using Java.
For now, it will only need to enable to 'programmer' to print things to the screen.
I had an idea ...