Difference between revisions of "User:Shainasabarwal/GSoC15/logs"

From BRL-CAD
(25 May)
(28 May)
Line 20: Line 20:
 
* Discussed about this with my mentors
 
* Discussed about this with my mentors
 
* Added lexertl header files in openscad new branch lexertl
 
* Added lexertl header files in openscad new branch lexertl
 +
 +
==29 May==
 +
* Read lexertl documentation and examples at https://github.com/BenHanson/lexertl/tree/master/examples and tried to add something into scadlexer files to test its working.
 +
 +
==30 May==
 +
* Added rules for numbers, operators etc and divide code into tokens.
 +
* Wrote the code for lookup table.
 +
 +
==1 June==
 +
* Successfully started highlighting keywords using lexertl tool in scadlexer.

Revision as of 07:35, 2 June 2015

Community Bonding Period

  • Wrote code for new scadlexer in scadlexer.h and scadlexer.cpp files.
  • Fetch the colors in scintillaeditor.cpp file for new scadlexer and it is successfully working
  • Wrote functions on highlighting keywords and highlighting comments.
  • Tested with Qt4 as well as Qt5
  • Wrote function for highlight multiline comments
  • Wrote function to highlight numbers
  • Trying to search any better way for lexing approach using QSciLexerCustom class.

Coding Period

25 May

  • Discussed and researched about different tools that can be used in scad lexer.

26 May

  • Chosen lexertl to be used for scad lexer.
  • Started reading lexertl documentation

27 May

  • Lexertl in boost is not the latest version, so as per its latest documentation it doesn't work, trying to read code of lexertl included in boost

28 May

  • Contacted Ben Hanson, the person who wrote lexertl and its documentation and he suggested to use the latest version of lexertl and not that included in the boost, because the latest version has some bug fixes and it also supports unicode. Also it is header file library so, we won't be needing to make any change in installation script
  • Discussed about this with my mentors
  • Added lexertl header files in openscad new branch lexertl

29 May

30 May

  • Added rules for numbers, operators etc and divide code into tokens.
  • Wrote the code for lookup table.

1 June

  • Successfully started highlighting keywords using lexertl tool in scadlexer.