Nope, but have always loved playing around with compilers for languages like PL/0, Pascal (subset) and such. I have many books on compiler design[0] but my itch is usually scratched by implementing a subset of a Wirth language as opposed to creating my own. I don't keep anything I write because it's fun to do it all over again later. [0] I think my oldest is "Compiler Construction for Digital Computers" by David Grie…
Ask HN: Have you created a programming language and why?
91–100 of 247 posts
Re: Ask HN: Have you created a programming language and why?
#92It 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 productivity.
Re: Ask HN: Have you created a programming language and why?
#93I'm slowly adding features to it like typing, object nesting, etc.
I created it for easier blogging. I'm not a fan of YAML because it's indent-based and I wanted to have a markdown file that hosts all the information about a post on it from the date, to snippet, to main text, title, metadata, hell even a sidebar ad, and author, etc.
I did end up creating a parser for it that I couple with a blogging engine.
The current compiler transforms the MOML file into a JS object
Re: Ask HN: Have you created a programming language and why?
#94I created https://github.com/onnlucky/hotel for a few different reasons. 1) I wanted to see how far you can go by making every language concept first class, because only first class things can be an abstractions. 2) But another big motivation was that languages usually grow towards building large systems in. I wanted every tradeoff to go to the human side, making it more suitable for beginners. For example, 0.1 + 0.2…
Re: Ask HN: Have you created a programming language and why?
#95Earlier quoted context omitted.
As a Computer Scientist, I actually find the distinction Turing and non-Turing to be rather obscure. Perhaps I am in the ignorant minority on this.
Isn't it just possessing both conditionals and loops?
A Turing Machine is literally just a tape, a movable reader/writer, and a bunch of states that dictate what the reader/writer does.
As long as you have memory, the ability to write to memory, conditionals, and some form of looping, whether it's a `while` loop, a `for` loop, or a `jmp` or `GOTO` instruction, it's Turing complete.
Note that a conditional jump (`jne`, for example) satisfies both of the latter.
Re: Ask HN: Have you created a programming language and why?
#96For better programming experience on touch screens.
Re: Ask HN: Have you created a programming language and why?
#97The interpreters are available at:
Re: Ask HN: Have you created a programming language and why?
#98 include "stdio.h"
class Widget {
x int
y int
func init() {
@x = 0
@y = 0
}
func draw() {}
}
class Button extends Widget {
func draw() {
printf("Drawing button!\n")
}
}
func main() int {
w *Widget = new(Button)
w@draw()
delete(w)
}Re: Ask HN: Have you created a programming language and why?
#99I created a spec called MOML and is a markdown-friendly alternative to YAML. It uses plain markdown but allows you to section off parts of the markdown file in order to organize data in a sensible fashion. It has support for arrays so far it only has support for 3 data types: small text, text, and array (of small text or text). I'm slowly adding features to it like typing, object nesting, etc. I created it for easier…
Re: Ask HN: Have you created a programming language and why?
#100Yes, CoffeeScript, in 2009. Despite being a modest, fun experiment in stripping JavaScript down to a minimal skin, and without any corporate backing, it wound up catching on a little bit. Thanks to the hard work of Geoffrey Booth and Simon Lydell, among others, there's a new "V2" version that includes many ES6 and 7 features that's almost ready to go: http://coffeescript.org/v2/ CoffeeScript was designed extremely co…
What are your personal opinions on the future of Coffeescript? It's still being used for Atom, but I've noticed colleagues are finally getting used to ES6 and similar languages and switching to them. I'm still stuck on Coffeescript though for all of my frontend projects. It's too closely aligned to my utopia of a language to try to find anything else (which would surely have a smaller following anyway).
> I'm not about to start using it for real projects,
> it's really just a thought experiment about how nice
> JavaScript could be with an alternative syntax.
(Source: https://news.ycombinator.com/item?id=1014225)I've used it a bit for fun, but never for work.
And I think that the future of JavaScript is probably always going to be JavaScript — until a web language comes along that's so compelling it's just obvious that it will be the right direction, and then the question won't even have to be asked.
CoffeeScript, as a concept, was mostly finished back in the 2010-2011 days, as a layer on top of ES3.
CoffeeScript 2, while a great step forward in terms of practicality for folks who want to use it with ES6 features like classes and modules — is also a step backwards for the notion of CoffeeScript: For example, we don't have to formalize classes anymore because JavaScript has them now, and unfortunately JavaScript has done them in a very static way that's not at all the direction CS would have taken. Ditto modules.
As an open source project, it will continue to work just as well as it always did. But I definitely don't foresee a return to general relevance, ever.