Developer Builds Synth-OOP, an Experimental Language Where Operators Are Methods
A developer has designed and implemented Synth-OOP, an experimental object-oriented programming language in which traditional operators like +, -, and * are treated as method calls on objects rather than special language constructs. The core idea is to unify operators, methods, streams, closures, and runtime mutation under a single object model, so that a + b is expressed as a.+(b). The reference interpreter, called Syclun, uses a tree-walking execution engine and can already run basic programs, standard-library calls, and algorithms such as weighted shortest-path. The project includes a lexer, recursive-descent parser, runtime object model, closure environments, and a self-registering native library system. While not intended to compete with mature languages like C++, the project aims to explore whether reducing language operations to object behavior can produce an internally consistent runtime model, with JIT compilation planned for a future phase.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in