# domain-specific language

A programming language tailored to a particular application domain rather than intended for general-purpose use.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## NL2AGBench: Benchmarking LLM Auto-Formalization for AlphaGeometry

DevFeed: [NL2AGBench: Benchmarking LLM Auto-Formalization for AlphaGeometry](<https://devfeed.tech/articles/nl2agbench-benchmarking-llm-auto-formalization-for-alphageometry-145365.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2608.28481>)

Author: Samuel Xiao, Judy Song, Rory Hu, Ziliang Zong

Published: 2026-11-20T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>)

Topics: [Large Language Model](<https://devfeed.tech/topics/llm.md>), [llm-reasoning](<https://devfeed.tech/topics/llm-reasoning.md>), [Language Engineering](<https://devfeed.tech/topics/language-engineering.md>), [domain-specific language](<https://devfeed.tech/topics/domain-specific-language.md>), [Enhancing AI model performance](<https://devfeed.tech/topics/enhancing-ai-model-performance.md>), [Fine-tuning](<https://devfeed.tech/topics/fine-tuning.md>), [machine-translation](<https://devfeed.tech/topics/machine-translation.md>)

Tags: [arxiv](<https://devfeed.tech/tags/arxiv.md>), [benchmarking](<https://devfeed.tech/tags/benchmarking.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-cl](<https://devfeed.tech/tags/cs-cl.md>), [domain-specific-language](<https://devfeed.tech/tags/domain-specific-language.md>), [error](<https://devfeed.tech/tags/error.md>), [execution](<https://devfeed.tech/tags/execution.md>), [few-shot](<https://devfeed.tech/tags/few-shot.md>), [fine-tuning](<https://devfeed.tech/tags/fine-tuning.md>), [llm](<https://devfeed.tech/tags/llm.md>), [open-source-models](<https://devfeed.tech/tags/open-source-models.md>), [performance](<https://devfeed.tech/tags/performance.md>), [source](<https://devfeed.tech/tags/source.md>), [taxonomy](<https://devfeed.tech/tags/taxonomy.md>), [translation](<https://devfeed.tech/tags/translation.md>)

### AI overview

NL2AGBench evaluates how well LLMs translate English geometry problems into AlphaGeometry's specialized DSL, using execution within AlphaGeometry to assess whether translations work rather than relying only on textual similarity. Across ten open and closed models at multiple scales, leading closed models exceed 80% executable translation, while even the largest open models struggle to preserve geometric constraints and produce valid formalizations. The benchmark distinguishes syntax from logic errors and reports measurable improvements from few-shot prompting, fine-tuning, and human-guided hints across multiple model families.

### Source excerpt

arXiv:2608.28481v2 Announce Type: replace-cross Abstract: Recent advances in large language models (LLMs) have demonstrated strong capabilities in natural language understanding and mathematical reasoning. However, their ability to translate informal mathematical problems into formal representations remains underexplored. This limitation is particularly important for neuro-symbolic geometry systems such as AlphaGeometry, whose theorem-proving engine requires inputs in a specialized domain-specific language (DSL). Although AlphaGeometry achieves near-IMO gold-medalist performance, manually converting natural-language problems into its formal syntax remains a significant usability bottleneck. To address this challenge, we introduce the Natural Language to AlphaGeometry Benchmark (NL2AGBench), which evaluates LLMs in translating English geometry problems into AlphaGeometry-compatible formal representations. NL2AGBench uses execution-based verification within AlphaGeometry to assess translation quality rather than relying solely on textual similarity. We evaluate ten state-of-the-art open- and closed-source LLMs across multiple parameter scales and analyze executable translation accuracy, syntactic correctness, and error characteristics. Our experiments reveal a substantial performance gap between closed- and open-source models: leading closed-source models achieve executable translation rates above 80%, while even the largest open-source models struggle to consistently preserve geometric constraints and produce valid formalizations. We introduce an error taxonomy distinguishing syntax and logic errors and investigate mitigation strategies, including few-shot prompting, fine-tuning, and human-guided hinting, which yield measurable improvements across multiple model families.

## AgentScript-Eval: Benchmarking LLMs and Agents for Code Generation in an Enterprise DSL

DevFeed: [AgentScript-Eval: Benchmarking LLMs and Agents for Code Generation in an Enterprise DSL](<https://devfeed.tech/articles/agentscript-eval-benchmarking-llms-and-agents-for-code-generation-in-an-enterprise-dsl-128265.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.13183>)

Author: Dipin Khati, Shubham Mehrotra, Bin Bi, Zhou Yu, Denys Poshyvanyk, James Zhu, Sitaram Asur, Phil L. Mui

Published: 2026-11-11T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>), [arXiv: Software Engineering](<https://devfeed.tech/sources/arxiv-software-engineering.md>)

Topics: [domain-specific language](<https://devfeed.tech/topics/domain-specific-language.md>), [AI-assisted coding](<https://devfeed.tech/topics/ai-assisted-coding.md>), [agentic-coding](<https://devfeed.tech/topics/agentic-coding.md>), [google-adk](<https://devfeed.tech/topics/google-adk.md>)

Tags: [agents](<https://devfeed.tech/tags/agents.md>), [benchmarking](<https://devfeed.tech/tags/benchmarking.md>), [code](<https://devfeed.tech/tags/code.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-se](<https://devfeed.tech/tags/cs-se.md>), [dsl](<https://devfeed.tech/tags/dsl.md>), [enterprise](<https://devfeed.tech/tags/enterprise.md>), [eval](<https://devfeed.tech/tags/eval.md>), [llms](<https://devfeed.tech/tags/llms.md>)

### AI overview

AgentScript-Eval tests five models on 100 real AgentScript tasks covering agent authoring, debugging, and optimization. Zero-shot performance was low: the best reached 25% pass@3, and all models scored 0% on authoring from scratch. Scale and price were weak predictors; a 31B open-weight model had the highest compilation rate (48%), matched the strongest frontier model on partial-credit accuracy, and used the lowest token cost. An agentic compile-and-edit loop roughly doubled partial-credit accuracy. Guidance wording also mattered: the same skill pack scored 28% as documentation and 14% as a live plugin, while rewriting one plugin skill raised the result to 37% without changing its catalog or tooling.

### Source excerpt

arXiv:2611.13183v1 Announce Type: cross Abstract: Domain-specific languages (DSLs) are widely used in enterprise software, giving a compact interface to complex tasks, from data access to infrastructure automation. Platforms increasingly extend them to agents, where a developer declares the topics, permitted actions, and guardrails of an agent rather than writing general-purpose code. Large language models (LLMs) write general-purpose code well, but that ability has been measured almost entirely on languages abundant in public pretraining data, and enterprise DSLs are neither abundant nor public. We introduce AgentScript-Eval, an execution-graded benchmark of 100 real tasks for AgentScript, the declarative DSL that Salesforce uses in Agentforce to build conversational agents. Tasks span authoring an agent from a specification, debugging a broken definition, and optimizing a working one. Evaluating five models zero-shot, we find that the regime is hard: the best model reaches only 25.0% pass@3, and every model scores 0% on authoring from scratch. We further find that model scale and price are weak predictors of success -- a 31B open-weight model attains the highest compilation rate of any model tested (48.0%) and matches the strongest frontier model on partial-credit accuracy at the lowest token cost. Adding an agentic compile-and-edit loop is the single largest lever, roughly doubling partial-credit accuracy. Beyond that gain, the wording of domain guidance matters more than its packaging. The same skill pack scores 28% as plain documentation but only 14% as a live plugin. Rewriting one skill inside that plugin then raises it to 37%, our best result, with catalog and tooling untouched. Larger models did not reliably outperform smaller ones; what mattered was the harness surrounding the model and the guidance supplied to it.

## Construction Contracts for Generated Embedded Domain-Specific Language Programs: A Measurement Protocol and a Conditional Effect

DevFeed: [Construction Contracts for Generated Embedded Domain-Specific Language Programs: A Measurement Protocol and a Conditional Effect](<https://devfeed.tech/articles/construction-contracts-for-generated-embedded-domain-specific-language-programs-a-measurement-protocol-and-a-conditional-effect-118081.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.06525>)

Author: Haowen Guo, Yangzhao Huang

Published: 2026-11-05T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Software Engineering](<https://devfeed.tech/sources/arxiv-software-engineering.md>)

Topics: [llm-reasoning](<https://devfeed.tech/topics/llm-reasoning.md>), [domain-specific language](<https://devfeed.tech/topics/domain-specific-language.md>), [AI Models](<https://devfeed.tech/topics/ai-models.md>)

Tags: [3](<https://devfeed.tech/tags/3.md>), [abstract](<https://devfeed.tech/tags/abstract.md>), [also](<https://devfeed.tech/tags/also.md>), [arxiv](<https://devfeed.tech/tags/arxiv.md>), [assembly](<https://devfeed.tech/tags/assembly.md>), [bootstrap](<https://devfeed.tech/tags/bootstrap.md>), [can](<https://devfeed.tech/tags/can.md>), [card](<https://devfeed.tech/tags/card.md>), [changes](<https://devfeed.tech/tags/changes.md>), [checkpoint](<https://devfeed.tech/tags/checkpoint.md>), [conditional](<https://devfeed.tech/tags/conditional.md>), [construction](<https://devfeed.tech/tags/construction.md>), [contracts](<https://devfeed.tech/tags/contracts.md>), [cs-se](<https://devfeed.tech/tags/cs-se.md>), [domain](<https://devfeed.tech/tags/domain.md>), [domain-specific-language](<https://devfeed.tech/tags/domain-specific-language.md>), [effect](<https://devfeed.tech/tags/effect.md>), [embedded](<https://devfeed.tech/tags/embedded.md>), [language](<https://devfeed.tech/tags/language.md>), [measurement](<https://devfeed.tech/tags/measurement.md>), [protocol](<https://devfeed.tech/tags/protocol.md>)

### AI overview

In OpenQASM 3, host acceptance and full structural match are distinct outcomes: across seven conditions, parse rates ranged from 0.55 to 0.97, while full matches ranged from 0.02 to 0.87. On QAOA, adding a construction card at fixed weights raised full match by 32 percentage points when weights had been trained with the card, but lowered it by 13 points without that training. The 45-point difference is not a deployment comparison. The same-step plan-free gain was 23 points, though the primary distributional score did not distinguish it; comparisons with an earlier checkpoint also changed the checkpoint. Evidence is limited: the interval includes zero on 20 QAOA instances outside all training splits, and under the card VQE adherence was 0.020 with full match near 0.03. The authors recommend reporting parsing and structural matching separately, and using a card only with a generator trained to read it and after a pilot shows adherence.

### Source excerpt

arXiv:2611.06525v1 Announce Type: new Abstract: A generated domain-specific program can be accepted by its host and still miss the reference construction. We measure the two events separately and test a short construction contract. The vehicle is Open Quantum Assembly Language (OpenQASM) 3. One 3-billion-parameter generator is run under seven conditions on 100 quantum approximate optimization (QAOA) and 100 variational quantum eigensolver (VQE) instances. Eighty of 100 QAOA signatures appear in some training split. Exact McNemar tests and 95% paired bootstrap intervals are used. The contract, a card, lists structural decisions, enters the prompt, and is checked without a simulator. Parse rates are 0.55 to 0.97 and full structural match is 0.02 to 0.87. On QAOA, at fixed weights, the card moves full match by +32.0 percentage points on card-trained weights (interval +22 to +42) and by -13.0 (-23 to -3) without that training. The +45.0-point difference is not a deployment contrast. The same-step plan-free gain is +23.0 (+13 to +33); the primary distributional score does not separate it. Against the earlier checkpoint the gain is +27.0 (+17 to +37), and the checkpoint also changes. A rule card is not separated from the learned planner, nor is a predicted-card compiler (0.760 vs. 0.780). On 20 QAOA rows outside every training split, the interval includes zero. Under this card, VQE adherence is 0.020 and full match stays near 0.03. Report the two checks separately. Insert a card only into a generator trained to read it, and only where a pilot shows adherence.

## DSL-Bench: Evaluating and Explaining LLM Code Generation Across Domain-Specific Languages

DevFeed: [DSL-Bench: Evaluating and Explaining LLM Code Generation Across Domain-Specific Languages](<https://devfeed.tech/articles/dsl-bench-evaluating-and-explaining-llm-code-generation-across-domain-specific-languages-116205.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.05168>)

Author: Zihan Zhou, Mingxi Ye, Yan Gao, Guipeng Wei, Zibin Zheng

Published: 2026-11-04T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Software Engineering](<https://devfeed.tech/sources/arxiv-software-engineering.md>)

Topics: [domain-specific language](<https://devfeed.tech/topics/domain-specific-language.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>), [Software Testing](<https://devfeed.tech/topics/software-testing.md>), [AI-assisted coding](<https://devfeed.tech/topics/ai-assisted-coding.md>), [llm-reasoning](<https://devfeed.tech/topics/llm-reasoning.md>), [Vectors & LLMs](<https://devfeed.tech/topics/vectors-llms.md>)

Tags: [bench](<https://devfeed.tech/tags/bench.md>), [code-generation](<https://devfeed.tech/tags/code-generation.md>), [cs-se](<https://devfeed.tech/tags/cs-se.md>), [domain-specific-languages](<https://devfeed.tech/tags/domain-specific-languages.md>), [llm](<https://devfeed.tech/tags/llm.md>), [semantic](<https://devfeed.tech/tags/semantic.md>), [syntax](<https://devfeed.tech/tags/syntax.md>)

### AI overview

DSL-Bench evaluates code generation across 18 domain-specific languages using syntax checkers and task-level semantic oracles. Across seven LLMs, average syntax pass rate was 31.37%, while semantic pass rate was 11.64%, showing that valid syntax often does not ensure correct behavior. DSL differences accounted for 76.99% of semantic pass-rate variation, compared with 7.86% attributed to model differences; Knowledge Demand had the strongest negative association among four DSL-level factors. Prompt-engineering gains varied across DSLs. In five targeted DSLs, RAG-Refinement improved semantic correctness by an average 16.29 percentage points over matched baselines. These abstract-level findings underscore the need to evaluate DSL outputs semantically, while the targeted improvement result applies only to the five studied DSLs.

### Source excerpt

arXiv:2611.05168v1 Announce Type: new Abstract: Large language models (LLMs) are increasingly used in software-engineering workflows, but code-generation benchmarks largely focus on general-purpose languages. Domain-specific languages (DSLs) have distinct syntax, semantics, and validation requirements, making results from individual DSL benchmarks difficult to compare. We present DSL-Bench, an executable benchmark and analysis framework for cross-DSL code generation. Starting from 13,045 DSL-related papers, LLM-assisted open card sorting identifies 18 representative application domains. For each domain, we select an evaluable DSL and provide a syntax checker and task-level semantic oracle. Evaluating 7 LLMs on 18 DSLs, we observe mean syntax and semantic pass rates of 31.37% and 11.64%, respectively, revealing a substantial gap between syntax acceptance and semantic correctness. A variance decomposition attributes 76.99% of semantic pass-rate variation to differences among DSLs and 7.86% to differences among models. Among four DSL-level factors, Knowledge Demand has the strongest negative association with semantic correctness (r = -0.508). We evaluate prompt engineering across all 18 DSLs and study five improvement methods on five targeted DSLs. Prompt engineering yields uneven gains; RAG-Refinement, the strongest targeted method, improves semantic correctness by 16.29 percentage points on average over matched baselines. We further derive capability profiles and DSL-Profiler summaries for interpreting data-scarce DSLs. These results highlight toolchain-specific semantic bottlenecks and the need to evaluate DSL code generation beyond syntax acceptance.

## Axiom: a logic programming language to express and enforce network designs

DevFeed: [Axiom: a logic programming language to express and enforce network designs](<https://devfeed.tech/articles/axiom-a-logic-programming-language-to-express-and-enforce-network-designs-104201.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.36748>)

Author: Tibor Schneider, Laurent Vanbever

Published: 2026-10-28T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Networking](<https://devfeed.tech/sources/arxiv-networking.md>)

Topics: [domain-specific language](<https://devfeed.tech/topics/domain-specific-language.md>), [Programming language](<https://devfeed.tech/topics/programming-language.md>), [Network Segmentation](<https://devfeed.tech/topics/network-segmentation.md>)

Tags: [axiom](<https://devfeed.tech/tags/axiom.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [cs-ni](<https://devfeed.tech/tags/cs-ni.md>), [designs](<https://devfeed.tech/tags/designs.md>), [language](<https://devfeed.tech/tags/language.md>), [logic](<https://devfeed.tech/tags/logic.md>), [network](<https://devfeed.tech/tags/network.md>), [network-operators](<https://devfeed.tech/tags/network-operators.md>), [programming-language](<https://devfeed.tech/tags/programming-language.md>), [protocols](<https://devfeed.tech/tags/protocols.md>)

### AI overview

Axiom checks network designs directly against device configurations and identifies both violations and the responsible commands. Operators express design decisions as rules over configuration commands; Axiom compiles those rules into one Datalog program that checks the network without modeling the resulting network state. The authors attribute this approach to addressing verifier challenges in device accuracy, scalability, and tracing misbehavior to configuration lines. Their prototype checked a 754-router network within seconds. The abstract presents per-keystroke enforcement as a possible future direction.

### Source excerpt

arXiv:2610.36748v1 Announce Type: new Abstract: Human errors remain the leading cause of network outages. To prevent them researchers propose general verifiers that analyze the network behavior. Yet, their (symbolic) models struggle to accurately reflect network devices, they fail to scale to large networks, and report misbehavior, not what configuration line caused it. We attribute all three challenges to specifications that describe the intended behavior but not how operators intend to achieve it---the network's design: which protocols to run and how to combine them. We present Axiom, a language for expressing network designs, and a checker that finds every violation and the responsible commands. Operators state their design decision as rules over configuration commands. Axiom then compiles them into a single Datalog program that checks the entire network directly on its configurations, not on the state they produce. Our prototype checks a 754-router network within seconds. Ultimately, a design enforced on every keystroke could give network operators the integrated development environment that programmers have long enjoyed.

## Peregrine: A Language-Agnostic Packet Processing Intermediate Representation with Formal Guarantees

DevFeed: [Peregrine: A Language-Agnostic Packet Processing Intermediate Representation with Formal Guarantees](<https://devfeed.tech/articles/peregrine-a-language-agnostic-packet-processing-intermediate-representation-with-formal-guarantees-100186.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.32639>)

Author: Sean Rhee, Xiangyu Gao, Srinivas Narayana, Nate Foster, Joseph Tassarotti, Anirudh Sivaraman

Published: 2026-10-26T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Networking](<https://devfeed.tech/sources/arxiv-networking.md>)

Topics: [Programming Languages / Compilers](<https://devfeed.tech/topics/programming-languages-compilers.md>), [Compiler](<https://devfeed.tech/topics/compiler.md>), [domain-specific language](<https://devfeed.tech/topics/domain-specific-language.md>), [Coq](<https://devfeed.tech/topics/coq.md>), [Automated reasoning](<https://devfeed.tech/topics/automated-reasoning.md>)

Tags: [algorithms](<https://devfeed.tech/tags/algorithms.md>), [applications](<https://devfeed.tech/tags/applications.md>), [classification](<https://devfeed.tech/tags/classification.md>), [compilation](<https://devfeed.tech/tags/compilation.md>), [compiler](<https://devfeed.tech/tags/compiler.md>), [cs-ni](<https://devfeed.tech/tags/cs-ni.md>), [developers](<https://devfeed.tech/tags/developers.md>), [devices](<https://devfeed.tech/tags/devices.md>), [domain-specific-languages](<https://devfeed.tech/tags/domain-specific-languages.md>), [dsl](<https://devfeed.tech/tags/dsl.md>), [dsls](<https://devfeed.tech/tags/dsls.md>), [ecosystem](<https://devfeed.tech/tags/ecosystem.md>), [experimental](<https://devfeed.tech/tags/experimental.md>), [formal](<https://devfeed.tech/tags/formal.md>), [guarantees](<https://devfeed.tech/tags/guarantees.md>), [infrastructure](<https://devfeed.tech/tags/infrastructure.md>), [intermediate](<https://devfeed.tech/tags/intermediate.md>), [language](<https://devfeed.tech/tags/language.md>), [languages](<https://devfeed.tech/tags/languages.md>), [packet](<https://devfeed.tech/tags/packet.md>), [processing](<https://devfeed.tech/tags/processing.md>)

### AI overview

Peregrine is a proposed shared, language-agnostic intermediate representation for packet-processing compilers, intended to address fragmented infrastructure and unreliable compilation across programmable network DSLs. It includes formal semantics and an equivalence checker implemented and proven correct in Rocq. The abstract reports that Peregrine can express applications from several state-of-the-art network languages, and that its checker can validate untrusted compiler passes and certify packet-classification algorithms within a reasonable amount of time. The supplied evidence does not detail the experiments or performance limits.

### Source excerpt

arXiv:2610.32639v1 Announce Type: new Abstract: Many different programmable network devices and domain-specific languages (DSLs) for programming them have been developed in recent years. However, the affiliated compiler infrastructure for each DSL has not kept up, leading to unreliable compilation results and ultimately a poor experience for developers. In response to this fragmented ecosystem, we propose an intermediate representation, Peregrine, to consolidate the common compiler functionalities within this domain into a shared, open-source infrastructure. We designed Peregrine to provide formal guarantees from the beginning, rather than adding them in a later step. The language comes with a formal semantics, along with an equivalence checker written and proven correct in Rocq. Experimental results show that Peregrine is general enough to express multiple applications written in various state-of-the-art network programming languages. The equivalence checker designed in Peregrine can be used for validating the correctness of a range of untrusted compiler passes, as well as for other surprising use cases such as certifying the correctness of packet classification algorithms within a reasonable amount of time.

## Best Infrastructure as Code (IaC) Tools for 2026

DevFeed: [Best Infrastructure as Code (IaC) Tools for 2026](<https://devfeed.tech/articles/best-infrastructure-as-code-iac-tools-for-2026-19007.md>)

Original publisher: [Read original article](<https://www.pulumi.com/blog/infrastructure-as-code-tools/>)

Author: Isaac Harris

Published: 2026-07-05T00:00:00Z

Content type: article

Language: en

Sources: [Pulumi](<https://devfeed.tech/sources/pulumi.md>)

Topics: [Infrastructure as code](<https://devfeed.tech/topics/infrastructure-as-code.md>), [pulumi](<https://devfeed.tech/topics/pulumi.md>), [opentofu](<https://devfeed.tech/topics/opentofu.md>), [Terraform](<https://devfeed.tech/topics/terraform.md>), [software-development](<https://devfeed.tech/topics/software-development.md>), [domain-specific language](<https://devfeed.tech/topics/domain-specific-language.md>), [Programming](<https://devfeed.tech/topics/programming.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [abstraction](<https://devfeed.tech/tags/abstraction.md>), [agent](<https://devfeed.tech/tags/agent.md>), [agent-readiness](<https://devfeed.tech/tags/agent-readiness.md>), [ai-agent](<https://devfeed.tech/tags/ai-agent.md>), [alternatives](<https://devfeed.tech/tags/alternatives.md>), [analysis](<https://devfeed.tech/tags/analysis.md>), [application-development](<https://devfeed.tech/tags/application-development.md>), [approach](<https://devfeed.tech/tags/approach.md>), [arm](<https://devfeed.tech/tags/arm.md>), [aws](<https://devfeed.tech/tags/aws.md>), [aws-cdk](<https://devfeed.tech/tags/aws-cdk.md>), [aws-cloudformation](<https://devfeed.tech/tags/aws-cloudformation.md>), [azure](<https://devfeed.tech/tags/azure.md>), [best](<https://devfeed.tech/tags/best.md>), [code](<https://devfeed.tech/tags/code.md>), [devops](<https://devfeed.tech/tags/devops.md>), [general](<https://devfeed.tech/tags/general.md>), [google-cloud](<https://devfeed.tech/tags/google-cloud.md>), [iac](<https://devfeed.tech/tags/iac.md>), [infrastructure](<https://devfeed.tech/tags/infrastructure.md>), [infrastructure-as-code](<https://devfeed.tech/tags/infrastructure-as-code.md>), [infrastructure-as-code-iac](<https://devfeed.tech/tags/infrastructure-as-code-iac.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [terraform](<https://devfeed.tech/tags/terraform.md>), [tools](<https://devfeed.tech/tags/tools.md>)

### AI overview

The excerpt lists ten IaC options spanning general-purpose programming languages, declarative templates, and Kubernetes-based approaches. It frames licensing, pricing, and AI-agent readiness as tradeoffs to weigh, and notes that Pulumi's registry includes first-party, bridged Terraform, and community packages. For teams with complex requirements or programming backgrounds, it says general-purpose languages can offer advantages in testing, abstraction, and collaboration; templates and domain-specific languages remain effective for many use cases. The excerpt describes the guide's scope but provides no tool-by-tool comparisons or selection criteria.

### Source excerpt

The best infrastructure as code (IaC) tools in 2026 are Pulumi, Terraform, OpenTofu, AWS CDK, AWS CloudFormation, Azure ARM, Azure Bicep, Google Cloud Infrastructure Manager, Kubernetes YAML, and Crossplane. Each takes a different approach to defining and provisioning infrastructure, from general-purpose programming languages to declarative templates, and each carries distinct licensing, pricing, and AI-agent readiness tradeoffs worth weighing before you commit. Pulumi's own package registry lists hundreds of packages -- first-party providers, bridged Terraform providers, and community components -- illustrating how far multi-cloud coverage has expanded across the ecosystem. Since this post was published, Pulumi has added first-class support for HashiCorp Configuration Language (HCL). You can now write Pulumi programs in HCL directly, alongside general-purpose languages like TypeScript, Python, Go, and C#. To see how it works, see Pulumi HCL. As infrastructure complexity grows, teams increasingly seek approaches that provide the same developer productivity tools they use for application development. While template-based and domain-specific language approaches serve many use cases effectively, teams with complex requirements or programming backgrounds often find that general-purpose programming languages offer advantages in testing, abstraction, and collaboration. This comprehensive guide examines the most effective infrastructure as code tools available today, providing detailed analysis of core IaC platforms, complementary tools, and related technologies through the lens of software engineering best practices. Whether you're starting fresh with IaC or evaluating alternatives to overcome limitations in your current toolchain, we'll help you navigate this complex landscape and choose solutions that truly bring software engineering to infrastructure. Ready to try one of these approaches yourself? Get started with Pulumi for free and provision your first resource in minu

## What Kind of Programming is Natural Language Programming?

DevFeed: [What Kind of Programming is Natural Language Programming?](<https://devfeed.tech/articles/what-kind-of-programming-is-natural-language-programming-67126.md>)

Original publisher: [Read original article](<https://githubnext.com/posts/dsyme-what-kind-of-programming-is-nlp/>)

Published: 2025-09-02T00:00:00Z

Content type: article

Language: en

Sources: [GitHub Next](<https://devfeed.tech/sources/github-next.md>)

Topics: [Programming language](<https://devfeed.tech/topics/programming-language.md>), [domain-specific language](<https://devfeed.tech/topics/domain-specific-language.md>)

Tags: [language](<https://devfeed.tech/tags/language.md>), [programming](<https://devfeed.tech/tags/programming.md>)

### AI overview

Natural language programming is compared with constraint programming: useful generality can come from specifying less, while ambiguity places limits on what this approach can do.

### Source excerpt

What Kind of Programming is Natural Language Programming?

## Prisma Schema Language Compared with TypeScript-Based Schema Definitions

DevFeed: [Prisma Schema Language Compared with TypeScript-Based Schema Definitions](<https://devfeed.tech/articles/prisma-schema-language-the-best-way-to-define-your-data-47752.md>)

Original publisher: [Read original article](<https://www.prisma.io/blog/prisma-schema-language-the-best-way-to-define-your-data>)

Author: Jon Harrell

Published: 2025-02-24T00:00:00Z

Content type: article

Language: en

Sources: [Prisma](<https://devfeed.tech/sources/prisma-blog.md>)

Topics: [Prisma](<https://devfeed.tech/topics/prisma.md>), [Structured-data](<https://devfeed.tech/topics/structured-data.md>), [Object-relational mapping](<https://devfeed.tech/topics/orm.md>), [domain-specific language](<https://devfeed.tech/topics/domain-specific-language.md>), [TypeScript](<https://devfeed.tech/topics/typescript.md>), [syntax](<https://devfeed.tech/topics/syntax.md>)

Tags: [ai-coding-tools](<https://devfeed.tech/tags/ai-coding-tools.md>), [developers](<https://devfeed.tech/tags/developers.md>), [domain-specific-language](<https://devfeed.tech/tags/domain-specific-language.md>), [orm](<https://devfeed.tech/tags/orm.md>), [prisma](<https://devfeed.tech/tags/prisma.md>), [schema](<https://devfeed.tech/tags/schema.md>), [syntax](<https://devfeed.tech/tags/syntax.md>), [typescript](<https://devfeed.tech/tags/typescript.md>)

### AI overview

This article explains how Prisma Schema Language defines database schemas, models, fields, and relationships, and compares it with TypeScript-based schema definitions. It discusses readability, collaboration, productivity, consistency, and AI coding tool integration.

### Source excerpt

Prisma Schema Language (PSL) is a declarative language for defining data models and relations. See how it compares to TypeScript-based schemas and why it works so well with AI coding tools.

## Standardize Pipelines with Domain-Specific Languages

DevFeed: [Standardize Pipelines with Domain-Specific Languages](<https://devfeed.tech/articles/standardize-pipelines-with-domain-specific-languages-83734.md>)

Original publisher: [Read original article](<https://dagster.io/blog/scale-and-standardize-data-pipelines-with-dsl>)

Author: Elliot Gunn

Published: 2024-02-08T00:00:00Z

Content type: tutorial

Language: en

Sources: [Dagster](<https://devfeed.tech/sources/dagster.md>)

Topics: [domain-specific language](<https://devfeed.tech/topics/domain-specific-language.md>), [Data pipelines](<https://devfeed.tech/topics/data-pipelines.md>), [c/c++](<https://devfeed.tech/topics/c-c-plus-plus.md>)

Tags: [automation](<https://devfeed.tech/tags/automation.md>), [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [ci](<https://devfeed.tech/tags/ci.md>), [data-platform](<https://devfeed.tech/tags/data-platform.md>), [data-teams](<https://devfeed.tech/tags/data-teams.md>), [domain-specific-languages](<https://devfeed.tech/tags/domain-specific-languages.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [pipelines](<https://devfeed.tech/tags/pipelines.md>)

### AI overview

The article explains how domain-specific languages (DSLs) can standardize and scale data pipelines while making data platforms more accessible to analysts and other non-engineers. It describes collaboration, faster deployment, automation, and CI benefits, along with YAML examples and the need for escape hatches when workflows exceed a DSL's scope.

### Source excerpt

By implementing DSLs, data teams can open their data platform to many more users without compromising on standards.

## Tools for Learning LLVM TableGen

DevFeed: [Tools for Learning LLVM TableGen](<https://devfeed.tech/articles/tools-for-learning-llvm-tablegen-43098.md>)

Original publisher: [Read original article](<https://blog.llvm.org/posts/2023-12-07-tools-for-learning-llvm-tablegen/>)

Author: David Spickett

Published: 2023-12-07T00:00:00Z

Content type: tutorial

Language: en

Sources: [LLVM Project](<https://devfeed.tech/sources/the-llvm-project-blog.md>)

Topics: [Compiler](<https://devfeed.tech/topics/compiler.md>), [domain-specific language](<https://devfeed.tech/topics/domain-specific-language.md>), [LLVM](<https://devfeed.tech/topics/llvm.md>), [Code](<https://devfeed.tech/topics/code.md>), [Documentation](<https://devfeed.tech/topics/documentation.md>), [Repository](<https://devfeed.tech/topics/repository.md>), [toolchain](<https://devfeed.tech/topics/toolchain.md>), [cpu](<https://devfeed.tech/topics/cpu.md>), [Learning](<https://devfeed.tech/topics/learning.md>), [mlir](<https://devfeed.tech/topics/mlir.md>), [C++](<https://devfeed.tech/topics/c-plus-plus.md>), [Hackathon-Kit](<https://devfeed.tech/topics/hackathon-kit.md>)

Tags: [c](<https://devfeed.tech/tags/c.md>), [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [code-documentation](<https://devfeed.tech/tags/code-documentation.md>), [compiler](<https://devfeed.tech/tags/compiler.md>), [contributing](<https://devfeed.tech/tags/contributing.md>), [data](<https://devfeed.tech/tags/data.md>), [documentation](<https://devfeed.tech/tags/documentation.md>), [domain-specific-language](<https://devfeed.tech/tags/domain-specific-language.md>), [dsl](<https://devfeed.tech/tags/dsl.md>), [introduction](<https://devfeed.tech/tags/introduction.md>), [language](<https://devfeed.tech/tags/language.md>), [llvm](<https://devfeed.tech/tags/llvm.md>), [llvm-ir](<https://devfeed.tech/tags/llvm-ir.md>), [mlir](<https://devfeed.tech/tags/mlir.md>), [repository](<https://devfeed.tech/tags/repository.md>), [tablegen](<https://devfeed.tech/tags/tablegen.md>)

### AI overview

A tutorial introduces LLVM TableGen, a domain-specific language used to generate files such as C++ code, documentation, command-line options, and architecture instruction definitions. It explains TableGen's compiler, intermediate representation, and backends, including examples involving Arm's AArch64 registers and outputs such as C++ code, C headers, and reStructuredText documentation.

### Source excerpt

TableGenis a language used within the LLVM project for generating a variety of files,when manual maintenance would be very difficult. For example, it is used to define all of the instructions that can be used on aparticular architecture. The information is defined in TableGen and we canproduce many things based on that single source file. C++ code, documentation,command line options, and so on. TableGen has been in existence sincebeforethe first official release of LLVM, over 20 years ago. Today in the LLVM project repository there areover a thousand TableGen source files totalling over 500,000 lines of code.Making it the 5th most popular language in the repository. LanguagefilesblankcommentcodeC++2964295854218701015544445C/C++ Header118443168064998451486165C1053525990016035941011269Assembly106944780351222315820236TableGen13129411283616580289 (Counted fromthis commit,rest of table omitted) With projects such as MLIRembracing TableGen,it is only going to grow. So if you are contributing to LLVM, you will encounterit at some point. Which might be a problem as TableGen only exists within LLVM. Unlike a languagesuch as C++, TableGen does not have a large array of resources. So, as well as joining a new project, you also need to learn a newDomain Specific Language (DSL). You did not come to LLVM to learn a DSL, youprobably came here to write a compiler. I cannot say when this problem might be solved, but the situation is not asbleak as it appears. There have been big improvements in TableGen toolsrecently, which means you can put more of your energy into the goals thatbrought you to LLVM in the first place. A Brief Introduction to TableGen Imagine you wanted to represent the registers of an architecture. I am going touse Arm's AArch64 in particular here. You could describe them in TableGen as: $ cat register.tdclass Register<int _size, string _alias=""> { int size = _size; string alias = _alias;}// 64 bit general purpose registers are X<N>.def X0: Register<8> {}// Some h

## Why you should consider migrating your Gradle scripts to Kotlin DSL

DevFeed: [Why you should consider migrating your Gradle scripts to Kotlin DSL](<https://devfeed.tech/articles/why-you-should-consider-migrating-your-gradle-scripts-to-kotlin-dsl-39396.md>)

Original publisher: [Read original article](<https://kt.academy/article/why_you_should_consider_migrating_your_gradle_scripts_to_kotlin_dsl>)

Published: 2023-05-10T00:00:00Z

Content type: tutorial

Language: en

Sources: [Kt. Academy](<https://devfeed.tech/sources/kt-academy.md>)

Topics: [Gradle](<https://devfeed.tech/topics/gradle.md>), [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [domain-specific language](<https://devfeed.tech/topics/domain-specific-language.md>), [software-development](<https://devfeed.tech/topics/software-development.md>)

Tags: [build](<https://devfeed.tech/tags/build.md>), [code-analysis](<https://devfeed.tech/tags/code-analysis.md>), [code-completion](<https://devfeed.tech/tags/code-completion.md>), [dependencies](<https://devfeed.tech/tags/dependencies.md>), [development-process](<https://devfeed.tech/tags/development-process.md>), [dsl](<https://devfeed.tech/tags/dsl.md>), [gradle](<https://devfeed.tech/tags/gradle.md>), [interoperability](<https://devfeed.tech/tags/interoperability.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [migrate](<https://devfeed.tech/tags/migrate.md>), [workshop-learning-programming](<https://devfeed.tech/tags/workshop-learning-programming.md>)

### AI overview

This article explains Gradle Kotlin DSL, describing its benefits over Groovy-based Gradle scripts, including static typing, code completion, type-safe APIs, concise syntax, and improved maintainability. It also outlines steps for migrating build scripts to Kotlin DSL.

### Source excerpt

Discover the benefits of migrating your Gradle scripts to Kotlin DSL and streamline your development process.

## What is Gradle and why do we use it as Android developers?

DevFeed: [What is Gradle and why do we use it as Android developers?](<https://devfeed.tech/articles/what-is-gradle-and-why-do-we-use-it-as-android-developers-25852.md>)

Original publisher: [Read original article](<https://medium.com/@banmarkovic/what-is-gradle-and-why-do-we-use-it-as-android-developers-572a07b3675d?source=rss-8aced922ece------2>)

Author: Ban Markovic

Published: 2023-01-16T12:52:02Z

Content type: article

Language: en

Sources: [Ban Markovic](<https://devfeed.tech/sources/stories-by-ban-markovic-on-medium.md>)

Topics: [Gradle](<https://devfeed.tech/topics/gradle.md>), [Android](<https://devfeed.tech/topics/android.md>), [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [domain-specific language](<https://devfeed.tech/topics/domain-specific-language.md>), [Learning](<https://devfeed.tech/topics/learning.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [android-app-development](<https://devfeed.tech/tags/android-app-development.md>), [automate](<https://devfeed.tech/tags/automate.md>), [automation-tools](<https://devfeed.tech/tags/automation-tools.md>), [build-tool](<https://devfeed.tech/tags/build-tool.md>), [developers](<https://devfeed.tech/tags/developers.md>), [gradle](<https://devfeed.tech/tags/gradle.md>), [groovy](<https://devfeed.tech/tags/groovy.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [tasks](<https://devfeed.tech/tags/tasks.md>)

### AI overview

Gradle automates Android app builds and publishing; Android Studio's Run action triggers Gradle tasks to resolve dependencies, compile Java or Kotlin code, package code and resources into an APK, then install and run it. The article explains that Gradle build scripts use a Groovy or Kotlin DSL and walks through the project's settings.gradle, root build.gradle, and app module build.gradle: settings configures plugin and dependency repositories and included modules; the root file holds shared plugins and configuration; the app file defines module plugins, dependencies, SDK levels, versioning, flavors, and build types. It distinguishes dependencies, which provide libraries used in app code, from plugins, which provide Gradle build tasks, and illustrates how Groovy syntax such as omitted parentheses compares with Kotlin syntax.

### Source excerpt

At the start of a journey for an Android developer, no one pays attention to Gradle. We are mostly focused on writing Kotlin code and developing Android apps that bring great value to our customers and look as beautiful as possible. When building them, sometimes we stumble upon a problem that is already solved by someone else on the internet and they were kind enough to share their project in a form of library, that we are able to implement in our app, and customize it to our needs. To be able to do so, we are using build.gradle file for implementing those libraries that help us build our apps, by specifying their unique package names and versions. This is probably the most common use case of our Gradle usage inside our Android projects. Motivation At the beginning of my career I didn't see a need for better understanding of Gradle, because for me it represented only the place where I wrote the names of the libraries I wanted to use inside my project. With that kind of approach, I didn't have any knowledge regarding it, and I was scared to change anything inside those files, because I was afraid I would break everything. After some time I realized that gradle files are built with code.. And I am a programmer.. So why am I avoiding it when I can learn it like any other programming language. What an epiphany, right? That's why I decided to write an article regarding the gradle files inside Android project. Just so anyone can read and understand them. Gradle Gradle is a build tool that we use for Android development to automate the process of building and publishing apps. Now, you may think that building and running the application is quite easy; we can just press Run button in Android Studio. Well, that just triggers Gradle's built-in tasks (functions) that are responsible for running the application on our emulator or real device. This process requires a couple of steps to be successfully completed in order for us to see the running app. These are the general steps t

## 26 programming languages in 25 days, Part 2: Reflections on language design

DevFeed: [26 programming languages in 25 days, Part 2: Reflections on language design](<https://devfeed.tech/articles/26-programming-languages-in-25-days-part-2-reflections-on-language-design-35233.md>)

Original publisher: [Read original article](<http://matt.might.net/articles/26-languages-part2/>)

Published: 2022-12-31T19:36:56Z

Content type: opinion

Language: en

Sources: [Matt Might](<https://devfeed.tech/sources/matt-might.md>)

Topics: [Programming Languages / Compilers](<https://devfeed.tech/topics/programming-languages-compilers.md>), [Functional programming](<https://devfeed.tech/topics/functional-programming.md>), [Advent of Code](<https://devfeed.tech/topics/advent-of-code.md>), [Racket](<https://devfeed.tech/topics/racket.md>), [domain-specific language](<https://devfeed.tech/topics/domain-specific-language.md>), [Programming](<https://devfeed.tech/topics/programming.md>), [Common Lisp](<https://devfeed.tech/topics/common-lisp.md>), [Haskell](<https://devfeed.tech/topics/haskell.md>), [Erlang](<https://devfeed.tech/topics/erlang.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [Python](<https://devfeed.tech/topics/python.md>)

Tags: [advent-of-code](<https://devfeed.tech/tags/advent-of-code.md>), [algorithm](<https://devfeed.tech/tags/algorithm.md>), [awk](<https://devfeed.tech/tags/awk.md>), [bash](<https://devfeed.tech/tags/bash.md>), [bugs](<https://devfeed.tech/tags/bugs.md>), [c-sharp](<https://devfeed.tech/tags/c-sharp.md>), [code](<https://devfeed.tech/tags/code.md>), [compilation](<https://devfeed.tech/tags/compilation.md>), [complexity](<https://devfeed.tech/tags/complexity.md>), [data-structure](<https://devfeed.tech/tags/data-structure.md>), [data-structures](<https://devfeed.tech/tags/data-structures.md>), [debugging](<https://devfeed.tech/tags/debugging.md>), [design](<https://devfeed.tech/tags/design.md>), [functional](<https://devfeed.tech/tags/functional.md>), [language](<https://devfeed.tech/tags/language.md>), [languages](<https://devfeed.tech/tags/languages.md>), [performance](<https://devfeed.tech/tags/performance.md>), [programming](<https://devfeed.tech/tags/programming.md>), [programming-languages](<https://devfeed.tech/tags/programming-languages.md>), [puzzles](<https://devfeed.tech/tags/puzzles.md>)

### AI overview

Across 26 languages used for Advent of Code, the author found that language choice mattered less than algorithms and data structures, while functional design often made puzzle extensions easier. Syntax mattered little personally, though indentation sensitivity changed the author's preference. Neither static nor dynamic typing was considered universally superior: stricter types helped with complex nested structures and debugging, while dynamic languages sped up work on simpler data, leading the author to favor a gradual path like Racket and Typed Racket. The author prefers functional programming but would retain mutability, favor strict evaluation with laziness available as needed, and start language implementation with an interpreter while avoiding features such as `eval` that complicate compilation. Domain-specific languages worked well in their intended domains, prompting a preference for embedded DSL support. Racket with Typed Racket came closest to the author's preferred design. These are reflections from a short puzzle-solving experience, not a general comparison of all languages.

### Source excerpt

I recently wrote about completing Advent of Code 2022 using a different programming language (or two) every day for 25 days. That note focused on the strategy, tactics and logistics involved in using 26 languages in 25 days without saying much about the languages or the experience itself. Using so many languages in such a short span provided insight into tradeoffs in language design. Here are my two high-level reflections from the experience: Good program design in the first part of each puzzle - especially more functional techniques and abstractions - tended to make the second part easier. So, in general, functional languages seemed to have the advantage in the puzzles. Using better algorithms and data structures was more important than having a "faster" programming language. There was never a time where rewriting in another language felt like the right way to get better performance. Read on for more specific reflections on language design. Click here to read the rest of the article

## Error Handling in Kotlin with Arrow and Either

DevFeed: [Error Handling in Kotlin with Arrow and Either](<https://devfeed.tech/articles/a-birds-eye-view-of-arrow-error-handling-39300.md>)

Original publisher: [Read original article](<https://kt.academy/article/fk-arrow-error-handling>)

Published: 2022-12-06T00:15:00Z

Content type: tutorial

Language: en

Sources: [Kt. Academy](<https://devfeed.tech/sources/kt-academy.md>)

Topics: [Error Handling](<https://devfeed.tech/topics/error-handling.md>), [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [Exception](<https://devfeed.tech/topics/exception.md>), [function](<https://devfeed.tech/topics/function.md>), [domain-specific language](<https://devfeed.tech/topics/domain-specific-language.md>)

Tags: [domain-specific-language](<https://devfeed.tech/tags/domain-specific-language.md>), [error-handling](<https://devfeed.tech/tags/error-handling.md>), [exception](<https://devfeed.tech/tags/exception.md>), [functions](<https://devfeed.tech/tags/functions.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [syntax](<https://devfeed.tech/tags/syntax.md>), [workshop-learning-programming](<https://devfeed.tech/tags/workshop-learning-programming.md>)

### AI overview

This tutorial explains how functional Kotlin code can represent errors in return types instead of exceptions. It compares nullable values with explicit error handling and introduces Arrow DSLs based on continuations to provide a unified API for different error types.

### Source excerpt

Learn about Error Handling in Arrow, end how to effectively work with Either.

## DSL type-safe builders

DevFeed: [DSL type-safe builders](<https://devfeed.tech/articles/dsl-type-safe-builders-39303.md>)

Original publisher: [Read original article](<https://kt.academy/article/fk-dsl>)

Published: 2022-09-09T00:04:00Z

Content type: tutorial

Language: en

Sources: [Kt. Academy](<https://devfeed.tech/sources/kt-academy.md>)

Topics: [domain-specific language](<https://devfeed.tech/topics/domain-specific-language.md>), [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [Gradle](<https://devfeed.tech/topics/gradle.md>), [Programming](<https://devfeed.tech/topics/programming.md>), [Jetpack Compose](<https://devfeed.tech/topics/jetpack-compose.md>), [React](<https://devfeed.tech/topics/react.md>), [SwiftUI](<https://devfeed.tech/topics/swiftui.md>), [JavaFX](<https://devfeed.tech/topics/javafx.md>)

Tags: [domain-specific-language](<https://devfeed.tech/tags/domain-specific-language.md>), [domain-specific-languages](<https://devfeed.tech/tags/domain-specific-languages.md>), [dsl](<https://devfeed.tech/tags/dsl.md>), [gradle](<https://devfeed.tech/tags/gradle.md>), [groovy](<https://devfeed.tech/tags/groovy.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [jetpack-compose](<https://devfeed.tech/tags/jetpack-compose.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [programming](<https://devfeed.tech/tags/programming.md>), [swift](<https://devfeed.tech/tags/swift.md>), [swiftui](<https://devfeed.tech/tags/swiftui.md>), [type](<https://devfeed.tech/tags/type.md>), [workshop-learning-programming](<https://devfeed.tech/tags/workshop-learning-programming.md>)

### AI overview

A tutorial on type-safe DSL builders in Kotlin. It explains how Gradle configurations moved from Groovy toward Kotlin DSLs, covering static typing, editor suggestions, typo detection, helper functions, classes, and lambda expressions. It also discusses DSL use in React, backend HTML, SwiftUI, Jetpack Compose, and desktop applications.

### Source excerpt

How to define type-safe DSL builders in Kotlin.

## LLVM meets Code Property Graphs

DevFeed: [LLVM meets Code Property Graphs](<https://devfeed.tech/articles/llvm-meets-code-property-graphs-43075.md>)

Original publisher: [Read original article](<https://blog.llvm.org/posts/2021-02-23-llvm-meets-code-property-graphs/>)

Author: Alex Denisov, Fabian Yamaguchi

Published: 2021-02-23T00:00:00Z

Content type: tutorial

Language: en

Sources: [LLVM Project](<https://devfeed.tech/sources/the-llvm-project-blog.md>)

Topics: [LLVM](<https://devfeed.tech/topics/llvm.md>), [code analysis](<https://devfeed.tech/topics/code-analysis.md>), [graph-database](<https://devfeed.tech/topics/graph-database.md>), [Code](<https://devfeed.tech/topics/code.md>), [Programming](<https://devfeed.tech/topics/programming.md>), [domain-specific language](<https://devfeed.tech/topics/domain-specific-language.md>)

Tags: [code](<https://devfeed.tech/tags/code.md>), [code-analysis](<https://devfeed.tech/tags/code-analysis.md>), [code-property-graph](<https://devfeed.tech/tags/code-property-graph.md>), [database](<https://devfeed.tech/tags/database.md>), [domain-specific-language](<https://devfeed.tech/tags/domain-specific-language.md>), [graphs](<https://devfeed.tech/tags/graphs.md>), [llvm](<https://devfeed.tech/tags/llvm.md>), [open-source](<https://devfeed.tech/tags/open-source.md>)

### AI overview

This article explains code property graphs, which combine syntax, control-flow, and data-flow representations in a graph database queried through a domain-specific language. It introduces Joern and describes an open-source llvm2cpg tool that adds LLVM Bitcode support to Joern for code analysis and vulnerability discovery.

### Source excerpt

The code property graph (CPG) is a data structure designed to mine large codebases for instances of programming patterns via a domain-specific query language. It was first introduced in the proceedings of the IEEE Security and Privacy conference in 2014 (publication, PDF) in the context of vulnerability discovery in C system code and the Linux kernel in particular. The core ideas of the approach are the following: the CPG combines several program representations into one the CPG is stored in a graph database the graph database comes with a DSL allowing to traverse and query the CPG Currently, the CPG infrastructure is supported by several tools: Ocular - a proprietary code analysis tool supporting Java, Scala, C#, Go, Python, and JavaScript languages Joern - an open-source counterpart of Ocular supporting C and C++ Plume - an open-source tool supporting Java Bytecode This article presents ShiftLeft's open-source implementation of llvm2cpg - a standalone tool that brings LLVM Bitcode support to Joern.But before we dive into details, let us say few more words about CPG and Joern. Code Property Graph The core idea of the CPG is that different classic program representations are merged into a property graph, a single data structure that holds information about the program's syntax, control- and intra-procedural data-flow. Graphically speaking, the following piece of code: void foo() { int x = source(); if (x < MAX) { int y = 2 * x; sink(y); }} combines these three different representations: into a single representation - Code Property Graph: Joern The property graph is stored in a graph database and made accessible via a domain-specific language (DSL) to identify programming patterns based on a DSL for graph traversals. The query language allows a seamless transition between the original code representations, making it possible to combine aspects of the code from different views these representations offer. One of the primary interfaces to the code property graphs is a