L++ is a new high-level, biology-oriented, typeless programming language for modeling high-level biological processes. It's designed to allow programmers and researchers to abstract away molecular interactions at the programmer's level to focus on building scalable biosystems, while providing remarkable insight into intricate simulations when necessary. Syntax for L++ is drawn from many other object-oriented programming (OOP) languages like C++ and Python, but also introduces new concepts that are essential to describing context-dependent systems in biology.
The syntax topics below are listed in chronological order in order to learn to code in L++. Good luck programming!
Basic Types
Experiments run entirely on numbers and the entities those numbers correspond to. These types compose the fundamental structure of the data that drives L++ programs.
Numbers
Booleans
Molecules and Chemical Substances
Nucleotides
Control Flow
As in any modern programming language, control flow is used to express and introduce rules within a program, such that certain pieces of code can be run for a number of times or only run under specific conditions.
Conditional Statements
for Loop
while Loop
Basic Operators and Keywords
These are conventional, essential programming components of the language. Typical mathematical operators largely behave similarly to other languages. Many of the other principles in this section are drawn from object-oriented programming (OOP) principles, but differ in behavior when describing the context of biological systems.