Comments (7)
@martinezlucas98, Can I know in which file this translations are needed?
from java2cpp.
Sure @Shree-Gillorkar, java2cpp.l and java.2cpp.y
Pretty much like the do-while one you made.
I think an excellent example for this will be the PRINT or PRINTLN tokens.
I would put these input grammar inside of STDIO as PRINT and PRINTLN.
from java2cpp.
Okay, I will look into this & will try to solve the issue.
from java2cpp.
@martinezlucas98, I added Grammar for my_input & Scanner object in java2cpp.y,
and also added token for System.in and scanner in java2cpp.l.
I am a bit confused about the code I wrote, Can you please check my code and let me know if any changes are required.
from java2cpp.
@Shree-Gillorkar Sure! I'll give you some feedback as soon as I test it.
from java2cpp.
Ya Sure!
from java2cpp.
from java2cpp.
Related Issues (15)
- Implement while and do-while HOT 11
- Implement declaration of array HOT 1
- Translate method with params HOT 1
- Implement print function grammar HOT 2
- Implement Syntax Error HOT 1
- Implement Type Error HOT 3
- Implement symbol table and "variable not declared" error HOT 2
- implement array parameter with fix value
- Bug: variables are printed within [ ] HOT 1
- Save result in a .cc file
- Define method scope
- Accept and detect constant variables
- Full support for the if-else statement HOT 2
- Full support for the for loop HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from java2cpp.