top of page

WELCOME
Search


Optimizing expression evaluation
Expressions can be found everywhere in your code. They are used to express conditions, formulas, constants etc. Expression evaluation is one of the most important things when it comes to implementing a programming language. Effective expression evaluation improves performance while it guarantees the correctness and the consistency of the results. Now how do you achieve that? It depends on the type of the interpreter you are building. With an AST interpreter, like the one we
Ivaylo Fiziev
1 day ago3 min read
Â
Â
Â


Practical use case: Linear ramp function
From the theory: "A linear ramp function generates a signal that linearly increases or decreases from a starting value to a target value over a specific time. It smooths out sharp changes in signals to prevent mechanical stress on machines." There are a lot of examples on the internet but here I'll present one that works well in the context of Process Simulate. Its called a function but rather I'll create a function block since the implementation keeps track of the current
Ivaylo Fiziev
Feb 202 min read
Â
Â
Â
CONTACT

bottom of page