The foundation of the web is based on HTML (Hyper Text Markup Language), which describes the structure of webpages. The common solution for implementing a webpage is to describe it statically, or use code generation. In the latter case, we do not write the HTML markup code, but provide inputs for the code generator to processes and can create HTML output from it. The topic of my thesis is the design and implementation of a code generator mentioned before. This will help with the creation of webpages, using the advantages of a type-based environment.
At the beginning of the thesis, I introduce the HTML language, identify the key parts of it and their role in solving the problem. Following this, I detail the design process of the code generator application, explaining the decisions made along this phase. The next part is about the implementation of the main components making up the application. I describe the solutions of the main problems, illustrated with sample codes and introduce the vast opportunities that are granted in the chosen language for solving these problems.
At the end of the thesis I evaluate the result, finally I outline some further improvement possibilities.