Grammar development using antlr

Ditutup Dipasang 5 tahun yang lalu Dibayar saat pengiriman
Ditutup Dibayar saat pengiriman

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.

Pemrograman C Java Python Perancangan Perangkat Lunak Perakit x86/x64

ID Proyek: #18320390

Tentang proyek

2 proposal Proyek online Aktif 5 tahun yang lalu

2 freelancer rata-rata menawar $38 untuk pekerjaan ini

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 dalam 25 hari
(5 Ulasan)
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 dalam 1 hari
(2 Ulasan)
1.9