-
Notifications
You must be signed in to change notification settings - Fork 18
記事の追加: HIW 2019で発表された、Copilotという内部DSLについて #172
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
Conversation
| cd blog/examples/2019/hiw-copilot | ||
| ``` | ||
|
|
||
| 👇のコマンドでビルド・C言語によるコードの生成できるはずです。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ここかそれ以降に、生成されるファイルの名前を書いておこう
| main = reify spec >>= compile "heater" | ||
| ``` | ||
|
|
||
| まず、`temp`と`ctemp`という識別子に定義した式が、センサーが発信する |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
書きそびれてる
| # commit: e7b331f14bcffb8367cd58fbfc8b40ec7642100a | ||
| # | ||
| extra-deps: | ||
| - copilot-3.0.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
これだけハッシュ値がないの?とちょっと気になった程度です
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
手で追加するとこうせざるを得ないんですよねぇ... stack.yaml.lockにも同等の情報があるっぽいし、ちょっと直すのも面倒なのでこのままで!
例のごとく #171 がマージされたからDraftをとります。
HIWの記事はこれで最後で!