#Dsl
4 notas · última:
Creating a Lego Mindstorms DSL in F#
The post builds an F# DSL on top of an existing C# Mindstorms API by using custom computation expressions, then maps the DSL actions to commands and shows simple reactive and stateful programs.
Converting a DSL to Executable F# Code On-the-Fly, Part 1
The post shows how to move from a hard-coded function to a replaceable F# function by modeling expressions with a discriminated union and interpreting them into executable code.
Benefits of Writing a DSL in Ruby
The article explains why ZenPayroll built a Ruby DSL for state-specific payroll logic, then walks through a CA example using blocks, instance_eval, method_missing, and validations.
Making DSLs in F#
The article shows how F# can be used to build a simple DSL for software estimation, with project, resource, group, task, and prepare statements that generate a Microsoft Project plan.
