I can't say I really understand what the tool is doing ... no reason for me to remove it though. It's not against the rules and is relevant to the sub. If people don't like it, they'll probaby downvote it (Cough Which is not what voting is for but who cares Cough), and if they think it's awesome, upvote it. Who am I to interfere?
But he said he spent 7 years working on it. Can't you scroll down the page and read what it does?
Why would you even consider removing it?
It says clearly that it is several libraries and a template language he is releasing for Pascal and the part at the top is a web front end for testing them. The default example is his template language that is used to help parse HTML.
It could use one or two more sentences explaining that but really all I needed to do was scroll down and click the documentation link and read for two minutes to understand it..
I can't say I really understand what the tool is doing ...
It is a Turing-complete programming language.
It can do everything!
The difference to most languages is that the type system contains DOM nodes. So all conversion happen automatically, and you do not really need to distinguish data on a webpage and data used during calculations (although that might get really slow). And the map-filter syntax is really succinct, it neither needs an explicit loop nor an explicit function definition.
If that page is too confusing: left textarea contains the input file, right textarea the interpreted script, and the bottom textarea the evaluated output.
The script is surrounded by <table><td>{ ...}</td></table> which is pattern matched against the input file and returns Hello in the context item .. Afterwards, a higher order function, which calls the function passed as 1st argument with the string in the 2nd parameter shifted by one place, is assigned to the variable $shifthf. $shifthf is partially evaluated with itself as 1st parameter, which creates a recursive function that is assigned to $shift and then called with a string...
And if you have NoScript or something activated, you cannot see anything, because it removes all the parentheses and tags from the url.
This is very cool! I mean I think it's cool, I'm still learning and am way out of my depth. But I know that you should be congratulated for having so much dedication. I hope you get a bit ore recognition here!
12 comments
8 u/runvnc 15 Jul 2015 20:41
I stopped trying to submit to r/programming years ago.
People generally cannot judge things on their merits. They upvote things that are already popular.
On reddit you are lucky if your submissions are not deleted.
Anyway congratulations on completing such a monumental effort!
5 u/Craftkorb 15 Jul 2015 21:18
I can't say I really understand what the tool is doing ... no reason for me to remove it though. It's not against the rules and is relevant to the sub. If people don't like it, they'll probaby downvote it (Cough Which is not what voting is for but who cares Cough), and if they think it's awesome, upvote it. Who am I to interfere?
1 u/runvnc 15 Jul 2015 21:27
But he said he spent 7 years working on it. Can't you scroll down the page and read what it does?
Why would you even consider removing it?
It says clearly that it is several libraries and a template language he is releasing for Pascal and the part at the top is a web front end for testing them. The default example is his template language that is used to help parse HTML.
It could use one or two more sentences explaining that but really all I needed to do was scroll down and click the documentation link and read for two minutes to understand it..
0 u/Craftkorb 15 Jul 2015 21:42
I? As I said, I don't consider removing this at all. Why should I? It doesn't break any rules. And it's highly relevant to the subvoat.
4 u/BeniBela [OP] 15 Jul 2015 23:28
It is a Turing-complete programming language.
It can do everything!
The difference to most languages is that the type system contains DOM nodes. So all conversion happen automatically, and you do not really need to distinguish data on a webpage and data used during calculations (although that might get really slow). And the map-filter syntax is really succinct, it neither needs an explicit loop nor an explicit function definition.
0 u/BeniBela [OP] 15 Jul 2015 23:10
I actually did submit it to r/software (as suggested by r/opensource), not r/programming
But then I was too annoyed to submit it to latter, too.
And v/software is too tiny
1 u/BeniBela [OP] 15 Jul 2015 19:09
If that page is too confusing: left textarea contains the input file, right textarea the interpreted script, and the bottom textarea the evaluated output.
The script is surrounded by
<table><td>{ ...}</td></table>which is pattern matched against the input file and returnsHelloin the context item.. Afterwards, a higher order function, which calls the function passed as 1st argument with the string in the 2nd parameter shifted by one place, is assigned to the variable$shifthf.$shifthfis partially evaluated with itself as 1st parameter, which creates a recursive function that is assigned to$shiftand then called with a string...And if you have NoScript or something activated, you cannot see anything, because it removes all the parentheses and tags from the url.
1 u/fry_hole 15 Jul 2015 21:40
This is very cool! I mean I think it's cool, I'm still learning and am way out of my depth. But I know that you should be congratulated for having so much dedication. I hope you get a bit ore recognition here!
0 u/ITW 15 Jul 2015 23:11
have an upvote