Skip to content
Andrew Johnson edited this page Nov 16, 2024 · 6 revisions

The word meditation comes from the Latin term meditatum, which means "to ponder". [1]

Meditation Modules

Inside the LM compiler a meditation is a logically independent module of code that contributors are encouraged to examine, consider, and improve. This practice encourages contributors to constantly reconsider every aspect of the compiler internals and view nothing as constant or "finished".

Contributing to a Module

To start work on a module a contributor should

  • familiarize themselves with the existing codebase
  • find something in the codebase that displeases them
  • design a plan to address that issue
  • consider the cost of any additions vs the value of the fix
  • if the change is a net positive, then go ahead and implement it

Existing Modules

  • Terms [Core]
  • Types [Core]
  • Preprocessor [Core]
  • Type Inference [Core]
  • C Frontend [Plugin]
  • LM Frontend [Plugin]
  • LSTS Frontend [Plugin]
  • C Backend [Plugin]
  • Numbers [Lib]
  • Strings [Lib]
  • Tuples [Lib]
  • Lists/Arrays [Lib]
  • Sets/Maps [Lib]
  • S-Expressions [Lib]
  • Input/Output [Lib]
  • Macros [Lib]

Citations

  1. https://positivepsychology.com/history-of-meditation/
Clone this wiki locally