Hi r/programming! Together with my brother I've been working on Wasp - a domain specific language for building web apps with as little boilerplate as possible. It is open-source and integrates with React/Node.js/Prisma. We just released Alpha and are looking for testers and contributors! wasp-lang.dev/
πŸ‘︎ 17
πŸ’¬︎
πŸ‘€︎ u/Martinsos
πŸ“…︎ Nov 12 2020
🚨︎ report
[OC] Popular Programming Subreddits by Members: General-purpose and domain-specific languages (March 6, 2020)
πŸ‘︎ 54
πŸ’¬︎
πŸ‘€︎ u/SummerPython
πŸ“…︎ Mar 07 2020
🚨︎ report
A domain specific programming language

Hi I thought it could be cool to create a domainspecific programming languange for manipulation of geospatial data. It would be a scripting language where

  • geometries are standard types
    Polygon myPolygon = Polygon ((( .... // wkt syntax

  • you could manipulate geometric data using default operators

    Polygon myClippedPoly = myPoly & clipperPolygon;
    Polygon myUnionPoly = myPoly | myOtherPoly;
    and similarly for rasterdata:

    Raster[1] raster3 = raster1 + 10 * raster2;

  • easily access common geometry formats (read/write) shapefiles, tabfiles, postgis, wfs, geojson, geotiff

  • easily view data on a map

obviously it would have common programming language features such as functions, loops etc. common types like integers, floats, booleans and strings.

Do you have any cool ideas what such a language should be able to do? Any other thoughts?

πŸ‘︎ 4
πŸ’¬︎
πŸ‘€︎ u/rosinsvinet_
πŸ“…︎ Apr 10 2020
🚨︎ report
Is legacy COBOL a domain-specific programming language?

Note that I'm talking about the original versions of COBOL, something like COBOL-85, and not the modern versions. I think it is a DSL, for the following reasons:

  • "COBOL" literally stands for COmmon Business-Oriented Language. And something that is <a particular field>-oriented is a DSL;

  • It was designed by people who came from commerce or government (not Computer Science) for developing business applications;

  • It's less powerful than general-purpose programming languages (for example, it doesn't support recursion and function arguments); also, it doesn't have scope, so all variables are global;

  • Its syntax is English-like (it even has verbs, clauses, sentences, paragraphs, etc), designed specifically for non-programmers. It's also very verbose, which is also a consequence of the fact that it's targeting non-programmers, those who work in business;

  • It doesn't really have a type system. Instead, it uses a "declaration by example" strategy, by using literally PICTUREs. As a consequence, it doesn't support user-defined types (except for structures, which are just a bunch of non-scoped variables anyway);

  • I haven't found any mention of compilers written in COBOL. Provided that writing a compiler back then was quite an undertaking, it probably shows that it was impossible to write one in COBOL, which proves that it's not suited for a wide range of application domains;

  • This says "Different Programming Languages have constructs to support facilities needed for solving problems in specific domains. For example, COBOL has support for solving business related problems, C for systems programming problems [so is C a DSL now?!]...";

On the other hand, it probably isn't:

  • This comment by an expert in programming language design says it's not (they also say this here). On the other hand, neither Java, nor C were designed for usage in a specific field, so, that COBOL is in some ways similar to them doesn't make it general-purpose, does it?
  • This lists COBOL as a general-purpose programming language, along with C and C++. The commenter in the previous point works for this company, so it's probably the exact same argument;
  • [This](https://www.intentsoft.com/inten
... keep reading on reddit ➑

πŸ‘︎ 12
πŸ’¬︎
πŸ‘€︎ u/ForceBru
πŸ“…︎ Mar 12 2019
🚨︎ report
Domain Specific Languages are a Great Addition to the Programming Ecosystem.
πŸ‘︎ 3
πŸ’¬︎
πŸ‘€︎ u/PixelRayn
πŸ“…︎ May 06 2020
🚨︎ report
Ur/Web is a domain-specific language for programming webapps backed by SQL databases. Statically-typed, purely functional, and with features from dependently-typed languages like the logic behind Coq. impredicative.com/ur/?rep…
πŸ‘︎ 63
πŸ’¬︎
πŸ‘€︎ u/ysangkok
πŸ“…︎ Jul 14 2012
🚨︎ report
IOHK’s latest blog about Marlowe, a domain-specific language (DSL) for financial contracts. Using a DSL has many advantages, such as it being usable by someone who is expert in a particular field, rather than requiring programming skills: twitter.com/cardano/statu…
πŸ‘︎ 24
πŸ’¬︎
πŸ‘€︎ u/dennyb2010
πŸ“…︎ Dec 12 2018
🚨︎ report
Ur/Web is a domain-specific language for programming webapps backed by SQL databases. Statically-typed, purely functional, and with features from dependently-typed languages like the logic behind Coq. impredicative.com/ur/
πŸ‘︎ 71
πŸ’¬︎
πŸ‘€︎ u/chneukirchen
πŸ“…︎ Oct 26 2008
🚨︎ report
ROL a domain specific language that abstracts and simplifies robotics programming. github.com/robotcaresyste…
πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/Kyrilo
πŸ“…︎ Mar 29 2019
🚨︎ report
Nothing crucial is missing in Rust. In fact if you only want to use one programming language for all domains including systems programming, games, web applications etc. I think Rust is the best choice. reddit.com/r/rust/comment…
πŸ‘︎ 123
πŸ’¬︎
πŸ“…︎ Jan 01 2022
🚨︎ report
It is a tradition to name domain-specific programming languages appropriately. Ethereum smart contracts can now be written in Pyramid Scheme. michaelburge.us/2017/11/2…
πŸ‘︎ 27
πŸ’¬︎
πŸ‘€︎ u/wwwwolf
πŸ“…︎ Dec 02 2017
🚨︎ report
Mapping a Dungeon with an External Domain Specific Language (Custom Programming Language) primaryobjects.com/CMS/Ar…
πŸ‘︎ 24
πŸ’¬︎
πŸ‘€︎ u/primaryobjects
πŸ“…︎ Feb 28 2011
🚨︎ report
Ivory: an embedded domain-specific language for safer systems programming smaccmpilot.org/languages…
πŸ‘︎ 37
πŸ’¬︎
πŸ‘€︎ u/yogthos
πŸ“…︎ Jun 30 2014
🚨︎ report
Day 10’s coming, we’re getting serious. Time to break out some domain-specific programming help. Lanternfish for scale.
πŸ‘︎ 145
πŸ’¬︎
πŸ‘€︎ u/Chrinkus
πŸ“…︎ Dec 09 2021
🚨︎ report
Showerthought: Shouldn't AI replicating a human have different Domain-Specific Languages for each subsystem of the human body? WARNING- neuroscience and programming talk.

I was just thinking about how learning works, and a big part of it that isn't touched on is acquisition of skills.

The common misconception is that thought and movement are directly connected, but there's a reason why watching football doesn't make you better at it. When you catch a ball, navigate through your cluttered house, or flip a bottle (kill me), that is coming straight from your "motor neurons".

Now, this isn't a lesson on the motor cortex, especially since it's mostly theory based on what I know. The question is, how would the AI store these movement patterns? Running from text and natural language understanding is highly inefficient, and using the same programming language for everything couldn't cover every paradigm.

Another huge supporting factor for this is the way the brain stores information: in chunks. Like an infinitely compressing tree of files, and we "unpack" these in our working memory (not a capacity of 7 bytes or 7 digits; 7 chunks). Think of it like extracting a language's source code from a ZIP file and building it.

Perhaps the primary obstacle for Strong AI is our rigid psychological fixation on using a single programming language for the whole thing, but no one language can do everything. A lot of languages are logic-based and determinstic. How are you going to create emotions with that? Speaking of which, any ideas on how an emotion-oriented programming language would work?

TL;DR - Our body utilizes so many different cell types, chemicals, nutrients, molecules, etc so why shouldn't we?

πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/Zephandrypus
πŸ“…︎ Mar 15 2017
🚨︎ report
Domain-Specific Languages of Mathematics: Presenting Mathematical Analysis Using Functional Programming arxiv.org/abs/1611.09475
πŸ‘︎ 5
πŸ’¬︎
πŸ‘€︎ u/gallais
πŸ“…︎ Nov 30 2016
🚨︎ report
Haskell for embedded domain-specific languages (Functional Programming eXchange 2012) skillsmatter.com/podcast/…
πŸ‘︎ 31
πŸ’¬︎
πŸ‘€︎ u/datadotlist
πŸ“…︎ Mar 18 2012
🚨︎ report
Domain-Specific Languages of Mathematics: Presenting Mathematical Analysis Using Functional Programming arxiv.org/abs/1611.09475
πŸ‘︎ 6
πŸ’¬︎
πŸ‘€︎ u/gallais
πŸ“…︎ Nov 30 2016
🚨︎ report
XMF is a (research prototype) programming language designed to support meta-programming and domain specific languages. modeling-languages.com/br…
πŸ‘︎ 6
πŸ’¬︎
πŸ‘€︎ u/softmodeling
πŸ“…︎ Jun 16 2011
🚨︎ report
Bridging science codes from general programming languages to domain-specific languages for HPC ascr-discovery.science.do…
πŸ‘︎ 4
πŸ’¬︎
πŸ‘€︎ u/greenprius
πŸ“…︎ Sep 07 2016
🚨︎ report
JetBrains::Meta Programming System &mdash; environment for creating Language Extensions and for creating and using Domain Specific Languages jetbrains.com/mps/concept…
πŸ‘︎ 9
πŸ’¬︎
πŸ‘€︎ u/animesh1977
πŸ“…︎ Jul 17 2011
🚨︎ report
Andy Gill, head of the Functional Programming Group at the University of Kansas, provides an in-depth look at embedded Domain-specific Languages (EDSLs). queue.acm.org/detail.cfm?…
πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/iamkanthalaraghu
πŸ“…︎ May 17 2014
🚨︎ report
Resource-safe Systems Programming with Embedded Domain Specific Languages edwinb.wordpress.com/2011…
πŸ‘︎ 7
πŸ’¬︎
πŸ‘€︎ u/stevana
πŸ“…︎ Sep 16 2011
🚨︎ report
DSL for the Uninitiated: Domain-specific languages bridge the semantic gap in programming queue.acm.org/detail.cfm?…
πŸ‘︎ 3
πŸ’¬︎
πŸ‘€︎ u/gst
πŸ“…︎ Jun 03 2011
🚨︎ report
Recommendations for domain specific books that use rust as their languages of choice

Ive read the "book" and rust in action and really loved the idea of exploring rust while writing software for a certain domain. Even thought there are some amazing books that go more in depth into rust such as rust for rusteceans, I would like to learn those topics while developing a whole application. Are there any high quality books that explore a domain and build something with rust as its language of choice?

After researching a bit I'm considering these books:

From the listed books I would start with zero to prod since Ive worked with back-end development with other languages. Any book recommendations or review of the books listed above would be appreciated.

πŸ‘︎ 9
πŸ’¬︎
πŸ“…︎ Jan 11 2022
🚨︎ report
Growing domain-specific languages alongside neural program synthesizers via wake-sleep program learning youtube.com/watch?v=D_TSG…
πŸ‘︎ 20
πŸ’¬︎
πŸ‘€︎ u/mttd
πŸ“…︎ Oct 30 2020
🚨︎ report
An experimental Python-to-C transpiler and domain specific language for embedded high-performance computing github.com/zanellia/prome…
πŸ‘︎ 253
πŸ’¬︎
πŸ‘€︎ u/eatonphil
πŸ“…︎ Nov 17 2021
🚨︎ report
luna is a Domain specific language that translates to regex. It's an attempt to make regex more readable. github.com/AbhinavOmpraka…
πŸ‘︎ 81
πŸ’¬︎
πŸ‘€︎ u/Dismal_Site_238
πŸ“…︎ Nov 12 2021
🚨︎ report
Is there a programming language I can learn to for crypto that doesn’t restrict me to a specific blockchain?

Noob question here that I’ve tried researching to no avail.

I’ve heard Solidity talked about for Solana (and Etherium) and Haskell for Cardano, but read once that Python could be used broadly…. I think that each one of them have good use cases but being a novice I’m concerned that I may pigeonhole myself into one language, unlike a developer who could more easily learn new languages.

Of course JavaScript is use too right? And there are a bunch of frameworks built on it like Mongo, Angular, Node, React ….

I have taking various short online courses for a few languages a few years ago (Python, JavaScript, PHP), but would have to redo them since it’s been a while.

Where should I start?

πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/OccamsPhasers
πŸ“…︎ Dec 04 2021
🚨︎ report
"What's the easiest way to parse a domain specific language?"

"Use LISP."

"What'th the eathietht way to parthe a domain thpethific language?"

(Apologies to people with speech impediments)

(A riff on Tim Vine style joke)

πŸ‘︎ 127
πŸ’¬︎
πŸ‘€︎ u/kwan_e
πŸ“…︎ Nov 02 2021
🚨︎ report
luna is a Domain specific language that translates to regex. It's an attempt to make regex more readable. github.com/AbhinavOmpraka…
πŸ‘︎ 16
πŸ’¬︎
πŸ‘€︎ u/binaryfor
πŸ“…︎ Nov 14 2021
🚨︎ report
Domain-specific Languages and Code Synthesis Using Haskell queue.acm.org/detail.cfm?…
πŸ‘︎ 14
πŸ’¬︎
πŸ‘€︎ u/sridfr
πŸ“…︎ Nov 30 2021
🚨︎ report
GitHub - zanellia/prometeo: An experimental Python-to-C transpiler and domain specific language for embedded high-performance computing github.com/zanellia/prome…
πŸ‘︎ 6
πŸ’¬︎
πŸ‘€︎ u/pmz
πŸ“…︎ Nov 20 2021
🚨︎ report
luna is a Domain specific language that translates to regex. It's an attempt to make regex more readable. github.com/AbhinavOmpraka…
πŸ‘︎ 24
πŸ’¬︎
πŸ‘€︎ u/binaryfor
πŸ“…︎ Nov 14 2021
🚨︎ report
hydrosolver: optimization driven hydroponic nutrient calculator and domain-specific language

I believe that the intersection of python programmers and hydroponic plant growing enthusiasts is not empty. Therefore I present my hobby project with the hope that it can be useful for the community.

This simple Python package provides handy tools for managing hydroponic nutrient solutions and utilizes the power of mathematical optimization to make your hobby even more enjoyable!

https://github.com/dstrelnikov/hydrosolver

πŸ‘︎ 6
πŸ’¬︎
πŸ‘€︎ u/dstrelnikov
πŸ“…︎ Oct 17 2021
🚨︎ report
Are there things you learn from books about specific programming languages that you do not learn from building projects, looking at docs, and reading about algorithms?

When I read books focused on diving deep into a specific programming language, I find all of them to be boring. I would rather be building something with the language and find information in the docs as needed.

I feel like reading books about a specific language is like being a carpenter and reading a book that tells you everything about a hammer; what materials it's made out of, how to use it, etc. I know some people enjoy that, and I see how it can be useful, but it is too boring for me to remain focused on that type of material.

The books that I find interesting are the ones about algorithms and how they are applied to solve problems.

What important things am I missing out on from not reading books that focus on a specific language that I would not learn from reading books about and building projects?

πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/EdgedSurf
πŸ“…︎ Nov 13 2021
🚨︎ report
Read a paper: A Domain-Specific Language for Video Editing youtu.be/jriblQBAA_4
πŸ‘︎ 33
πŸ’¬︎
πŸ‘€︎ u/ggvh
πŸ“…︎ Oct 04 2021
🚨︎ report
Voila, a domain-specific-language for managing insane quantities of files

this is my first rust project, there is a lot of code to improve, but i hope you like it! https://github.com/Alonely0/Voila

πŸ‘︎ 56
πŸ’¬︎
πŸ‘€︎ u/_alonely0
πŸ“…︎ Jul 31 2021
🚨︎ report
Dangerload: a dangerous extension to Fish that enables directory-based function loading/unloading. Give your project a mini domain-specific language in your shell!

Hey, Fish-people!

I made this little tool for myself that lets you (dangerously) load and unload functions based on the directory you are in in your shell. It's great for complicated one-liners you'd usually have to memorize on a per-project basis. You can think of it as a mini domain-specific language for your project!

I found it useful in a ton of projects I've been working on. I figured that the Fish community might be interested in it as well.

It's installable with fisher via fisher install loqwai/dangerload-fish

This is the first Fish plugin I've published, and as you might notice by the exclamation points, I'm pretty excited about it! Any feedback is very welcome.

πŸ‘︎ 19
πŸ’¬︎
πŸ‘€︎ u/redaphid
πŸ“…︎ Sep 28 2021
🚨︎ report

Please note that this site uses cookies to personalise content and adverts, to provide social media features, and to analyse web traffic. Click here for more information.