In this problem, you must add real values to the runtime system so that, for example, the expression 3.8 is interpreted as ["RealNum",3.8].

For your answer, check each and every file below that MUST be altered to implement this modification.





[ $('#absyn').prop('checked'), $('#grammar').prop('checked'), $('#env').prop('checked'), $('#interpreter').prop('checked') ]
return RP23part3Validate(guess);

Remember that you are modifying the code that you obtained at the end of the previous exercise, not the code that was discussed in class.

Does this change impact the concrete syntax or the abstract syntax of SLang 1 (or both)?

Are we adding new types of denoted values or modifying the existing ones?

Are we adding new types of expressions?

Must the main function of the interpreter be extended? Does the overall evaluation process need to handle additional cases?