// Path: src/main/java/org/dice/parsing/ast/Expression.java
// public interface Expression {
// 	public String evaluate();
// }


import org.dice.parsing.ast.Expression;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
package org.dice.parsing;



/**
 * Created by simon.hughes on 4/13/16.
 */
public class InteractiveConsole {

    public static void main(String[] args) throws IOException {

        String get_title_prompt = "Please enter search query to parse:";
        String user_input = get_user_input(get_title_prompt);
        while (!user_input.equals("exit") && !user_input.trim().equals(""))
        {
            try{
                RecursiveDescentParser parser = new RecursiveDescentParser(new Lexer(user_input), "*:*");
// Path: src/main/java/org/dice/parsing/ast/Expression.java
// public interface Expression {
// 	public String evaluate();
// }


// Path: src/test/java/org/dice/parsing/InteractiveConsole.java
import org.dice.parsing.ast.Expression;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

package org.dice.parsing;



/**
 * Created by simon.hughes on 4/13/16.
 */
public class InteractiveConsole {

    public static void main(String[] args) throws IOException {

        String get_title_prompt = "Please enter search query to parse:";
        String user_input = get_user_input(get_title_prompt);
        while (!user_input.equals("exit") && !user_input.trim().equals(""))
        {
            try{
                RecursiveDescentParser parser = new RecursiveDescentParser(new Lexer(user_input), "*:*");
                Expression ast = parser.parse();