Deficiencies.rst 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. =====================
  2. TableGen Deficiencies
  3. =====================
  4. .. contents::
  5. :local:
  6. Introduction
  7. ============
  8. Despite being very generic, TableGen has some deficiencies that have been
  9. pointed out numerous times. The common theme is that, while TableGen allows
  10. you to build Domain-Specific-Languages, the final languages that you create
  11. lack the power of other DSLs, which in turn increase considerably the size
  12. and complexity of TableGen files.
  13. At the same time, TableGen allows you to create virtually any meaning of
  14. the basic concepts via custom-made back-ends, which can pervert the original
  15. design and make it very hard for newcomers to understand it.
  16. There are some in favour of extending the semantics even more, but making sure
  17. back-ends adhere to strict rules. Others suggesting we should move to more
  18. powerful DSLs designed with specific purposes, or even re-using existing
  19. DSLs.
  20. Known Problems
  21. ==============
  22. TODO: Add here frequently asked questions about why TableGen doesn't do
  23. what you want, how it might, and how we could extend/restrict it to
  24. be more use friendly.