Hacker Newsnew | past | comments | ask | show | jobs | submit | a_lost_needle's commentslogin

It does not. Easily implemented with combinators the whole way down.


Correct, but the very beginning of the original article proposes running JSON through JSMin to support comments. So in this context, a "compiler" is being proposed (or transpiler to more modern). My comment isn't clear.


Still easily implemented with combinators the whole way down. It’s building an ast, that’s it. Once you have a tree, you can do whatever you want with the result before passing it to a compiler for a language. Here though, just serialization stuff.


Ah, I see. I can't reply to that thread anymore, but it sounds like a combinator is like a first-class YACC grammar in the functional language that obviates the need to write the parser. That's really cool, thanks. I'll read up on it more.


Yea, that’s pretty accurate. So now I’m curious what you thought the site was named after?

Edit: It’s not that accurate. It’s just math used in a way to compose parsers using parsers.


Never gave it a moment's thought. Now after Googling it, I still wouldn't know because I don't program LISP (well I haven't since 1986, but that was only an intro in college). Interesting to read about it.


You can use most of the concepts in any language that allows first class functions, closures, pattern matching and types. Combinators are just ways to compose a function to create a new function that executes some aspect upon a set (usually).


Like grandma used to say: "There's nothing combinators can't solve. Except consumption. Rest in peace Grandpa Neddie."

I'm dense: what's a combinator?


A functional programming technique that allow you to declaratively define your language when using parsers as values. If you have a good functional language implementation, the code look very similar to someone able to read BNF. And then you run it, and get out an AST the back end.

edit: Forgot partial application. Not strictly required, but super handy.


That's one proposed solution but not the only one. You could just ignore comments, like most programming languages do.


Having led the creation of a language/compiler professionally, the number of features that are "nice to have" are nearly infinite. And occasionally a lower priority item that was easier to implement at the time, become far larger in scope because of how another higher priority feature was implemented. Some of these can get scrapped or pushed back till the cycles allow it.

Often though, we learn in the implementation, and some of the lower priorities are no longer needed. And Reflections provided a lot of the functionality that you could make seamless from a parent class and attributes.


How about enjoying life? I weigh in at a 130lbs at 5'9", and have the body and skin of a woman much younger. Moderation, not abstinence, is where the happiest life is.


You can smoke, do crack and do all sorts of provably harmful things in moderation too. I guess the question is whether all pleasurable things are pleasurable enough to justify the harm they cause. Maybe to you, pop is. I'd say that empirical evidence shows that pop is a clear negative to society, is a recent addition to human diet and isn't universally consumed (so isn't actually necessary to anyone's life), so it seems like it's not far fetched to believe that it's probably not a bad idea to write it off our lives.


Yea, that's kinda what free will is all about. I've made that decision. You're allowed to do whatever you want hun, but abstinence is a fools ideology. You have one life, and the end isn't the good bit.


What are you going to do when she asks for it back?


Lucky for me, I'm the sculpture and the sculptor.

edit: Disambiguated a word.


I love it, I don't like pop often, but I like soda water all of the time. And Pepsi came out with syrup for home use, so I just keep that in the cupboard and on weekends watching a movie or something, I'll throw in some syrup. Easy peasy, and I can make it as sweet as I want.


I prefer to hand write my own. I feel it's over-complex for simple parsers and not complex enough for the more esoteric ideas I have. But I'd love to hear of people that have had success here?


Pedantic irrelevance?


Well, it definitely looks like it will be pretty gay! :)


I'm in the process of doing a technical audit of several of these for a government. My favourite so far is the ServiceNow platform.

These platforms are great at making use of bottom tier devs quite effectively. They're a resource amplifier, when you don't have the cash to hire better devs. Hire a few devs to create the custom controls, actions, etc.. and have a boat load of juniors implement the requirements. Most of these folk haven't picked up a new language since college, and don't incorporate coding into their lives. These individuals have value, but often create more problems due to their lack of skill and/or experience. In a low/no code environment, you can better ensure that they're on rails.

The issues we're encountering is the pricing model, and it's most likely we'll end up going with Microsoft's because of the existing contracts. ServiceNow for all it's strengths really shoots itself in the foot with pricing. A product like this benefits from any "power" user being able to implement their own internal workflows, but ServiceNow charges per dev. So they're handicapping themselves. But someone will figure out all the pieces, it's inevitable.

As a means to solve boring, repetitive, uninspired development, it's great, and it'll be the future in the way that SquareSpace and Wix ate into front end presence sites...

And honestly, if you aren't a great developer, I suspect the rails would make you feel a lot better.

This won't take any jobs from anyone likely reading this. HN frequently has a blind spot for that vast majority of enterprise development. It's not sexy, but it makes up more developers than the Silicon Valley crowd by magnitudes. And most of them would fail a Fizz Buzz. With no code, I can make use of those resources.



It seems real strange that they're using Crystal, I don't see "HTML5 Supercomputer" listed as a supported platform.


Mind explaining the joke?


https://www.truckinginfo.com/330475/whats-behind-the-grille-...

See the "Advanced Electronics" section about halfway through the article.


> "The entire infotainment system is a HTML 5 super computer," Milton said. "That's the standard language for computer programmers around the world, so using it let's us build our own chips. And HTML 5 is very secure. Every component is linked on the data network, all speaking the same language. It's not a bunch of separate systems that somehow still manage to communicate."


You know SpaceX uses electron for it's UI's, right?


They are very much still in use in at least one government.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: