Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mingodad
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
61.
▲
by
mingodad
5y ago
After looking for a text generator for grammars I found this https://github.com/dmbaturin/bnfgen and then to try understand the underlying algorithm I came out with a C simple program for a simple expr grammar see it h
62.
▲
by
mingodad
5y ago
And making all operands to modulo operator "%" integer: ===== EXPR = (((((((788)*(8.46))))+8342*1.803-1))*4186.4*(15))*(((22%284/((7530/((2)*(((((25))-421))))))*597%2663)+7283.8-9.60+167%((3))))+(8871) D = 8.29038e+12 JA
63.
▲
Ask HN: Inconsistent expression calculation between programming languages
83 points
by
mingodad
5y ago
|
62 comments
64.
▲
by
mingodad
5y ago
For a C/C++ like syntax there is also https://github.com/mingodad/ljs and ljsjit and also https://github.com/mingodad/squilu a variant of Squirrel with more C/C++/Java/CSharp&#
65.
▲
by
mingodad
5y ago
Yes you should pull it from the link, it's almost self contained and you'll need to edit the source to point to you html source or copy and paste it on the editor.
66.
▲
by
mingodad
5y ago
I didn't exactly consider it a project on it's on and it's basically using already existing work done by others, be my guest use as you please.
67.
▲
by
mingodad
5y ago
Here I'm showing something I did some time ago https://meimporta.eu/htmleditor/ it's a crude WYSIWYG html editor for people that already knows HTML/CSS and uses basically the browser contenteditable capa
68.
▲
by
mingodad
5y ago
An attempt to allow code reuse for a subset of all of then.
69.
▲
by
mingodad
5y ago
I understand that this project is to showcase Sciter SDK ( https://sciter.com ) a nice project. Here I'm showing something I did some time ago https://meimporta.eu/htmleditor/ it's a crude WYSIWYG h
70.
▲
by
mingodad
5y ago
I created Lua with C/C++/Java/Javascript syntax https://github.com/mingodad/ljs Also forked a scripting language https://github.com/mingodad/squilu and extended it to accept a pseud
71.
▲
by
mingodad
5y ago
Thank you for correcting my mistake, indeed LL(1/k).
72.
▲
by
mingodad
5y ago
Looking at the bibliography used it surprises me that CocoR https://ssw.jku.at/Research/Projects/Coco/ is missing, for me so far CocoR is the Lua equivalent for parsers, simply, small and relatively easy to u
73.
▲
by
mingodad
5y ago
After following the compiler suggestions (several times more): ==== make dmd -c -O -inline -release -ofwarp.o cmdline.d constexpr.d context.d directive.d expanded.d file.d id.d lexer.d loc.d macros.d main.d number.d outdeps.d ranges.d skip.
74.
▲
by
mingodad
5y ago
But dlang has a long problem of change constantly without backward compatibility and a lot of projects just die because of it, for example the mentioned https://github.com/facebookarchive/warp : ==== make dmd -c -O -in
75.
▲
by
mingodad
5y ago
For curiosity and testing what I learned from CocoR https://ssw.jku.at/Research/Projects/Coco/ I created a parser for Smithy that anyone can see/use here https://github.com/awslabs/s
76.
▲
by
mingodad
5y ago
And here is a repository from someone that translated it to Javascript (also has C++ version) https://github.com/CapelliC/hitchhicker-prolog
77.
▲
by
mingodad
6y ago
I think that the now defunct dotGNU http://www.dotgnu.org/ was trying to do it, one of the nice things it left us is libjit https://www.gnu.org/software/libjit/
78.
▲
Ask HN: Rust parser accepting subset of C/C++
3 points
by
mingodad
6y ago
|
1 comments
79.
▲
by
mingodad
6y ago
An interesting idea with good reasoning a must read for all of us interested in a better society.
80.
▲
by
mingodad
6y ago
Maybe this https://github.com/mingodad/ljs and this https://github.com/mingodad/ljsjit does to some degree what you have in mind ?
81.
▲
by
mingodad
6y ago
Also there is https://github.com/mingodad/ljs that changed the parser to accept a Javascript like syntax, including https://github.com/mingodad/ljsjit for LuaJit and includes a tool to automatical
82.
▲
by
mingodad
6y ago
Your example doesn't hold water, size_t is unsigned so the test condition would never be met.
83.
▲
by
mingodad
8y ago
Is the original data freely available on the net ? I mean the courts make this public on the web ?
84.
▲
by
mingodad
8y ago
Very nice narrative about where our current society style can head us, worth reading, save, share, ...
85.
▲
by
mingodad
8y ago
Thank you for reply ! I can not edit anymore, it seems that the software disable that option after some time or other event has passed.
86.
▲
by
mingodad
8y ago
I edited the message and put the XXXX in place to not expose that info, but someone here already got it, yes it's summitto.com and I was looking for the link here on HN and it seems that it was removed, probably after this post.
87.
▲
by
mingodad
8y ago
If you are going to apply look at this to have an idea of how privacy invasive some advertiser here is. https://news.ycombinator.com/item?id=19062963
88.
▲
by
mingodad
8y ago
Thanks for reply ! The country is Netherlands.
89.
▲
by
mingodad
8y ago
Thank you for reply ! Yes I know that happen in USA and also in UK. Can someone from Netherlands say how is it there ? Cheers !
90.
▲
by
mingodad
8y ago
Here is what they ask: Hi XXXXX! Thank you for reaching out to us, may I ask you how you found us and what peaks your interest in XXXXXX ? You have built some impressive tools, and I think we can offer you a set of great challenges in your
More ›