Week 1

Week 1

Work Done by end of the first week:                                          1st June 2019

  • Building the HPCC-Platform : This was done prior to the start of the program. Run simple ECL code .
  • Walk through ECL-training and ECL-documentation to understand various data types and basic syntax of ECL definitions ,actions, etc.
  •  Build the octave plugin replicating similar to example-plugin in  HPCC repository. I was able to add additional functions with different return types performing basic operations and was able to get the result.
  • Investigate working of the octave interpreter . Build a standalone application to understand the evaluation of the octave queries.
  • Points noted from the above work
  1. The built-in eval_string function of the octave can take multiple statements (or the statement list).But the function is designed in such a way that it doesn't return the output but instead writes it to the standard console.
  2. The return type of the eval_string is object of octave_value. The class octave_value has many functions like is_bool_type , is_double_type. These functions can be exploited in our wrapping functions.
  3. If the embed context has multiple statements, we have to break it at each statement and submit individual statement to eval_string . 
  • Investigate other plugins like javaemebed , myql to understand the working of the plugins.
  • Building of the shared library has one problem with respect to binding to the external shared objects. This has to be worked out while writing the cmake for the plugin.

Work to be done in  week 2:

  • The next step is to build the plugin which can parse the few basic data types like int or boolean.
  • Building the plugin includes setting up the octave interpreter .

No comments:

Post a Comment