Tagged Questions
0
votes
0answers
79 views
Succinct Lazy Initialization Pattern
Background
I often use the following lazy initialization pattern:
public class Clazz {
private Object object;
private Object getObject() {
Object object = this.object;
if( object == ...
0
votes
1answer
257 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 ...
5
votes
4answers
888 views
Programming Language Parser (in Java) - What would be a better design alternative for a special case?
Background
I'm currently designing my own programming language as a research project.
I have most of the grammar done and written down as context-free grammar, and it should be working as is. - Now ...