Language and Scene Description: Assigments


Required

1 - Get the library liblang.a . Save the file lang.tgz , decompress it with gunzip and use tar to create the directory "./i3d/base/lang" . Compile and install the library.

2 - Use the library to create a simple embedded language for a calculator. The following operations should be implemented: addition, subtraction, multiplication, division and print.


Optional

3 - Extend the calculator to include arguments passed as parameters in the command line. Use the format arg{ var = num}, where var is the name of the argument, and num is its default value that should be used if the parameter is not passed in the command line.