New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Assembly text format. #1164
Comments
example: https://github.com/hsk/vscode-debugger-simple-asm/blob/master/dist/ocaml/parser.mly This is very simple assembly language format. |
Although it can be understood that handling is easy if written in S formula, S expression is difficult to understand. |
What is wrong with WebAssembly Text Format being a new syntax? You said that it's difficult to understand, do you have some examples? To me it's good to have a dedicated syntax because WebAssembly has nothing to do with neither Lisp or the Assembly text format. Could you tell us more about XHTML? |
XHTML is very Simple format. But, HTML5 is not XHTML, now. |
I don't agree, humans can read it and used to even write it.
I don't agree, same comment than for XHTML. WebAssembly don't use an existing standard for its syntax, it has been designed with specific goals, that's why it has a custom syntax, which is better IMHO.
I would be opposed to that. Note that WebAssembly is an open group, they don't have to do certain things (like using an existing standard because you say that it has a similar syntax). Disclaimer: my opinions are my own, not WebAssembly's one. |
I see. |
S expression is beautiful and usable. |
https://staff.aist.go.jp/y-ichisugi/doc/newjdoc/outline.html |
but,... |
xtuc:
well, wasm will tend to be a standard itself within a couple of years isn't it? |
@ROBERT-MCDOWELL sorry I didn't mean to write that, of course WebAssembly is a standard format. I meant that it don't use an existing standard syntax (since they created their own). |
Is LLVM format S expression? |
There was no need to write parentheses so far. |
fuck |
Until now I did not dislike about WebAssembly. |
From the perspective of lisper, webassembly is epoch-making. |
The quick movement of webassembly was also great. |
But,I am not Lisper. |
I think that WebAssembly is egoistic language of lisper. |
Is WebAssembly an intermediate code an S formula? |
I think that it is very good that I do not need to use C or C ++. |
WebAssembly is Hot now! |
However, he is shibuya lisp boy. |
@hsk It's not usually intended for people to actually read or write the S-expression format directly. Instead, you would write your code in a higher level language and it would then be compiled to WebAssembly. And by using source maps you can even debug in the high-level language, so you never need to see the WebAssembly S-expressions. So 99+% of the time, it doesn't matter what the text format is, because you never see it. |
I like text format output compiler. |
He tried to compare the performances corresponding to the wasm that I made in Emscripten in the past |
critics are always good to make a project to evolve. However we must take in consideration the years of code layers that built what is internet today and avoid to reinvent the wheel every time there is an evolution.... |
I understand that you're frustrated by s-expressions. I'm not a fan either, and find solace in accepting that the text format doesn't really matter to WebAssembly as a whole. Indeed, the binary format is what matters. We just had to have some text format for low-level display and basic testing, and the only one that was seriously proposed and moved forward was this one. It made some people happy to have s-expresions, so that's nice for them. To me it's similar to using XML: it's ugly and harder to read, but really doesn't matter. The history of the text format is somewhat long, and I won't repeat it here. s-expressions made sense when we had an AST, but now we have a stack machine, so at a minimum it's a quaint historical factoid that we use s-expressions. What's great is that you can create your own WebAssembly text format. We did for our own testing and it gives us more flexibility than combining textual s-expressions would. An LLVM IR like format wouldn't be hard to build at all. That being said, I thoroughly enjoyed the play-by-play realization that you've recorded live here. 👍 |
Thank you, for understand my issues. |
I think S expression is Lisp.
However, WebAssembly is assembly language.
Please, standard assembly language with text format.
The text was updated successfully, but these errors were encountered: