9.2 System Architecture
The mode consists of two primary components:
-
1.
- Major Mode Implementation elegant-lattice-mode.el
-
2.
- Generated Data File elegant-lattice-data.el
The data file is automatically generated from ELEGANTāĂŹs track_data.c using a standalone Python
script:
generate_elegant_lattice_data_el.py
This separation ensures that:
- The editor remains synchronized with the ELEGANT source
- Updates to ELEGANT require only regeneration of the data file
- The Emacs mode remains stable and version-independent