Live data from Hacker News

Ask HN: Have you created a programming language and why?

news.ycombinator.com

141–150 of 247 posts

Re: Ask HN: Have you created a programming language and why?

#141
Yes, Tauthon. (https://github.com/naftaliharris/tauthon).

It lets people with Python 2 code start to use new features from Python 3. (It's a backwards-compatible fork of Python 2.7 with features like async/await, function annotations, and keyword-only arguments backported from Python 3).

Re: Ask HN: Have you created a programming language and why?

#145
post #92

I created a language called MoonScript in 2011 It is heavily inspired by CoffeeScript (and Python), it works as a transpiler for Lua. I've since used it regularly to code dozens of projects. It's now powering my company along with a handful of websites and supporting libraries. I've also made games and GUI apps with it. The adoption has been pretty minimal, but I'm satisfied regardless. It has definitely improved my…

MoonScript is extremely cool. What are your thoughts on MoonScript in the browser? I know you have an online "Try MoonScript", but what would be the best way to use it in a real (hobby) project with DOM manipulation capabilities?

Please don't give up on MoonScript :)

Re: Ask HN: Have you created a programming language and why?

#146

I'm currently making a programming language that tries not to be a programming language. To give some background: I'm working on a program to allow anyone to create video games. But to add custom functionality, my users need to use some kind of programming/scripting language. Since these are non-technical people, it must be as easy and simple as possible. Therefore I'm now making a language (called Screenplay) where…

The example reminds me a bit of inkle's ink interactive fiction scripting language: https://github.com/inkle/ink

Re: Ask HN: Have you created a programming language and why?

#147
Yes; in 1997, I created a simple Javascript-like embeddable scripting language for the network security scanner product I was a part of (Secure Networks Ballista). Instead of a BSD-style sockets interface, it was designed around direct access to the network interface and had a standard library that implemented Ethernet/IP/TCP, and the language had primitives for picking apart and composing packets. We used it to to write low-level network tests without writing C code.

At the time, there was no mainstream realistic option for embedding popular languages that lots of people knew into C applications. A few years later, I'd have solved the same problem with Tcl and a few extensions; then Python, then Javascript.

Re: Ask HN: Have you created a programming language and why?

#148

I've been tinkering with a language I call beep for a couple years now. It's sort of my programming equivalent of the old hot-rod sitting in the garage. I'll disappear for a weekend while I work on it and then not even think about it for a month or two. I made it/am making it mostly as an exercise. I like to know how things work, and there's no better way for me to learn than by doing. It's also just fun to make stuf…

Have you looked at Crystal before? It's a compiled statically typed variant of Ruby.

Re: Ask HN: Have you created a programming language and why?

#149
I created a language back in college, although it wasn't for any class but to learn how Forth worked. It was Forth-like, but unlike Forth, it had polymorphism and objects. I used the language for both work [1] and a class assignment (a Unix shell, where I made Unix commands first class objects---a really cool design and I got an A in the class). But I never did like the syntax (Reverse Polish Notation). I've thought of cleaning up the code [3] but ... it's a lot of code to update ...

[1] I worked for a neuroscientist [2] out of the Math Department writing software.

[2] Dr. Arnold Mandell (https://en.wikipedia.org/wiki/Arnold_J._Mandell)

[3] It would win a "Most Abuse of the C Preprocessor" award, due to writing my own template package, long before C++ had templates. Also, the language written in C, not C++. Abuse indeed.

Re: Ask HN: Have you created a programming language and why?

#150

Yes. I created an internal language called "Lispon". A lisp using json instead of sexprs. e.g. ["op", "arg", "arg"]. The team had a couple of requirements for a service we wrote: 1. Need to do batching. 2. Need to do stored-templated json responses based on data in our DB. 3. Need to not cost the project more than a week. We had worked around #1 and #2 in awkward and debt riddled ways. (The client of the service was…

This reminds me of MiniMAL [0].

[0]: https://github.com/kanaka/miniMAL

Post reply on HN