Question: Simple Lisp Interpreter (Bison & Flex Programming) 1. Design and implement the language for the following simple Lisp interpreter. 2. Language design and implementation 2.0

Simple Lisp Interpreter (Bison & Flex Programming) 1. Design and implement the language for the following simple Lisp interpreter. 2. Language design and implementation 2.0 One statement (Lisp-expression) per line. The return value of each statement will be output to console. 2.1 (stop) to terminate the program 2.2 constants: a number (the type of a number is double) 2.3 list expression and functions for basic arithmetic (+,-, *, , 1+, l- where 1+ is to increment 1, 1- is to decrement 1, (+12) +12 3 4) is exponent (that is, ( 23) is 2 to the power of 3. 2) 34)) Simple Lisp Interpreter (Bison & Flex Programming) 1. Design and implement the language for the following simple Lisp interpreter. 2. Language design and implementation 2.0 One statement (Lisp-expression) per line. The return value of each statement will be output to console. 2.1 (stop) to terminate the program 2.2 constants: a number (the type of a number is double) 2.3 list expression and functions for basic arithmetic (+,-, *, , 1+, l- where 1+ is to increment 1, 1- is to decrement 1, (+12) +12 3 4) is exponent (that is, ( 23) is 2 to the power of 3. 2) 34))
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
