Need a grammar that switches between 2 languages , when compiling the .java file it must be able to recognize if the input file provided at the run time is correct for the language on which we are invoking. i.e while entering the executable java after javac success, u need to mention the language and the input file as CMD arguments, based on the 1st argument, a decision will be made as to which part of the garmmar needs to be executed i.e language 1 or 2 , then checks if the input file is written in that particular language and if it is in that language execute the file or else throw an error. Error must be thrown at the 1st encounter of different language. For instance the input1 file and input 2 file for language 1 and language 2 respectively, the variable declarations syntax may be same , but the print statement may be different, if while executing java file if u give the executable command to be lang1 file2, with content in file be variable declaration follwed by a print statement, AS the variable declaration of lang1 and lang2 are same 1st line should be executed properly, displaying the declaration , As the syantax of lang1 print statement is not the same for the file 2 print statement syntax, it should print error message, incase of any conditions statements for the right language with right input, the condition needs to be executed and content in the condition if true ,needs to be also executed.
Bu iş için 4 freelancer ortalamada $39 teklif veriyor
Hi, I am a talented C & Assembly coder. If you give me this project, you will get a good result. Thanks. Relevant skills & experiences: C & C++ Programming, Algorithm, Data processing, Assembly
I am confident I am the right candidate for this project as I have done many similar projects in the past. With years of experience in this field, I believe this project will be very easy for me.
HELLO I CAN START RIGHT NOW - I AM EXPERT IN C Programming Java and I BET YOU CANNOT FIND BETTER FREELANCER THAN ME ... pLEASE MESSEGE ME AND LETS DISCUSS THE THINGS THANKS
I am expert in antlr4 .I will complete your task within deadline .so consider my proposal for your project.