Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dmajda
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
Two Questions To Ask After a Bugfix
(majda.cz)
2 points
by
dmajda
12y ago
|
0 comments
2.
▲
Codie — JavaScript template engine specialized in generating JavaScript code
(github.com)
1 points
by
dmajda
15y ago
|
0 comments
3.
▲
by
dmajda
17y ago
I believe that the classical generated parser has generally better performance potential - there is less function calling, less string passing (but this may be avoided easily in combinators too) and more opportunity for optimalization if yo
4.
▲
by
dmajda
17y ago
ECMAScript 5 PEG parser: http://boshi.inimino.org/3box/PEG/build/ES5.html (Hmm, I must definitely try to port it to PEG.js :-) As for Ruby, I am not sure if it is even possible to create a PEG grammar. Its lexer and parser are heavily int
5.
▲
by
dmajda
17y ago
Interesting, thanks for the warning. I only skimmed through the paper today and noted that the algoritm seems complex, but I didn't attempt to understand it in detail. What was your final result? Did you implement the left recursion in the
6.
▲
by
dmajda
17y ago
I knew somebody would raise this point :-) You are right that the evaluation order would be wrong for "-" and "/". I will probably implement support for left recursion in PEG.js - it is possible (see e.g. http://www.vpri.org/pdf/tr2007002_
7.
▲
by
dmajda
17y ago
What exactly you didn't like?
8.
▲
PEG.js - parser generator for JavaScript
(pegjs.majda.cz)
74 points
by
dmajda
17y ago
|
43 comments
9.
▲
Rubinius 1.0.0RC1 released
(rubini.us)
44 points
by
dmajda
17y ago
|
5 comments
10.
▲
by
dmajda
17y ago
Thanks :-) The source code is available on my website: http://www.majda.cz/download/translating-ruby-to-php-cd.tar.... . I didn't push it on GitHub because I didn't indend to develop the compiler further after finishing the thesis. The cod
11.
▲
by
dmajda
17y ago
I begun to work on the master thesis when there was no mod_rails, Rails hostings were less common and they were more expensive than PHP hostings. So the other commenters in this thread are right about the "deployability" reason. When the wo
12.
▲
by
dmajda
17y ago
The PCNTL extension is about process control, not threading. I don't see how it could help to solve the limitations mentioned in the section 7.1 of the thesis.