Alternative Approach

  • Use R as environment/system/interface
    shell/command line

  • Then replace or augment language

    • Compile R language to make it faster

    • implement new language(s) to replace R

    • allow user to specify language, e.g.

      newLang1({
                  expression_1
                  expression_2
                  ...
                  expression_n
               })
      

      Use R syntax for commands to be interpreted in a different "interpreter"

    • Allow any number of new languages.

  • Use R as the parser

    • Good and Bad - but expedient

    • like LISP - all same syntax calls - function calls