Comments (7)
I agree! I think a separate makefile target is the way to go, I'll give it a shot this morning.
from bedrock2.
Ok so I did a bit of refactoring and added a Makefile target called ExprImp
, so now you should be able to do what I just added to the REAMDE:
To build only the source language (ExprImp):
- run
make
in thebbv
directory - run
make util
in theriscv-coq
directory - run
make ExprImp
in thebedrock2
directory
Please let me know if it works (or if I screwed something up 😉).
from bedrock2.
from bedrock2.
Both ExprImp and riscv-coq need some general utility stuff such as monads and a bitwidth typeclass, and I don't want to duplicate this utility code. Currently, this utility code lives in riscv-coq/src/util
. I could move it into a separate repo, but I don't think this would add any value.
from bedrock2.
I tried factoring the semantics out further. Please review https://github.com/mit-plv/bedrock2/compare/semantics-refactor for style and not semantics and give me feedback on whether you think this is a good direction.
from bedrock2.
(Stalled on coq/coq#7892, thinking about how to proceed.)
from bedrock2.
This works now.
from bedrock2.
Related Issues (20)
- Using multiple return values HOT 2
- Why does bedrock2 use `Load`? HOT 2
- Please create a tag for Coq 8.16 in Coq Platform 2022.09 HOT 6
- bedrock2 fails with a syntax error on Windows HOT 9
- bedrock2 lightbulb example is incompatible with native_compute HOT 5
- Less Memory-Hungry, More Principled Solution for Decidable Side-Conditions HOT 2
- Failing in coq CI HOT 1
- `make` should not run `coq` and `cc` when there's nothing to be done
- Update tested is failing with rate limits HOT 2
- Bedrock2 is broken on Coq's CI HOT 1
- Please pick the version you prefer for Coq 8.17 in Coq Platform 2023.03 HOT 2
- Please pick the version you prefer for Coq 8.17 in Coq Platform 2023.03 HOT 2
- design: outputting bitwidth-generic code? HOT 7
- design: core functionality of RecordPredicates? HOT 4
- Unbound value Int.land HOT 2
- Please pick the version you prefer for Coq 8.18 in Coq Platform 2023.10 [coq-bedrock2] HOT 2
- Please pick the version you prefer for Coq 8.18 in Coq Platform 2023.10 [coq-bedrock2-compiler] HOT 2
- install target is unusable when sudo doesn't have access to coqc HOT 4
- [coq-bedrock2] Please create a tag for Coq 8.19 in Coq Platform 2024.01
- [coq-bedrock2-compiler] Please create a tag for Coq 8.19 in Coq Platform 2024.01
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bedrock2.