Grammar development using antlr

Cerrado Publicado hace 5 años Pagado a la entrega
Cerrado Pagado a la entrega

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.

Programación en C Java Python Arquitectura de software Ensamblador x86/x64

Nº del proyecto: #18320390

Sobre el proyecto

2 propuestas Proyecto remoto Activo hace 5 años

2 freelancers están ofertando un promedio de $38 por este trabajo

readymakers

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.

$50 USD en 25 días
(5 comentarios)
3.2
anshsparkle

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

$25 USD en 1 día
(2 comentarios)
1.9