Skip to content
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

How to use this semantics in 2022? #49

Open
Stevengre opened this issue Sep 29, 2022 · 1 comment
Open

How to use this semantics in 2022? #49

Stevengre opened this issue Sep 29, 2022 · 1 comment

Comments

@Stevengre
Copy link

I'm really interested in the most complete formal semantics of llvm, and want to try it. But there are some challenge for me to try it.

  1. Which K-Version should I use?
  2. Which Backend should I use?
  3. Which file should I kompile?

I have tried "kompile semantics/llvm-semantics.k --backend java" in "5.4.0", and an error occurred:

[Error] Outer Parser: Encountered "[".
Was expecting one of: ["List", "NeList", <UPPER_ID>, <NAT>]
        Source(/mounted/semantics/llvm-syntax.k)
        Location(25,35,25,35)
        25 |        syntax HexConstant ::= Token {[u s]?[0][x][K M L H]?[0-9 a-f A-F]*}
[onlyLabel]

I really want to try this excellent work! Thank you so much!

@Stevengre
Copy link
Author

https://github.com/liyili2/llvm-semantics-1 gives the result

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant