om
5 hours ago
- #concatenative
- #programming-language
- #C++
- The Om language is a header-only C++ library that can be incorporated into any C++ or Objective-C++ project.
- Om uses a unique panmorphic type system where all data values are represented as operands.
- The language is concatenative and uses prefix notation, which offers advantages like immediate data consumption and non-recursive evaluation.
- Programs in Om are evaluated as functions, with each function taking the remainder of the program as input.
- Om supports Unicode fully, with strings automatically normalized to NFD but can be explicitly normalized to NFKD.
- Recursion in Om is efficient due to its eager evaluation model and non-recursive evaluation implementation.
- New operations can be added to Om by implementing them in C++, either as composite or atomic operations.
- Contributions to Om can be made via pull requests, issue reporting, or direct contact for domain-specific development.