Action

Many realistic language workbenches draw the line to prevent endless growing of their notations, and introduce a concept of a “semantic action”, which is written like an annotation in the grammar and acts as a doorway to the mainstream language typical for the target platform. Obviously, since this action consists of code, the code can su er from one of the numerous code smells.

Reference

Mats Stijlaart and Vadim Zaytsev. 2017. Towards a taxonomy of grammar smells. In Proceedings of the 10th ACM SIGPLAN International Conference on Software Language Engineering (SLE 2017). ACM, New York, NY, USA, 43-54.


Parsing Smells

Home

All rights reserved (c) Tushar Sharma 2017-23.