Skip to content

a multifile sample derived from chatpp.as#207

Merged
crusso merged 6 commits intomasterfrom
claudio/app
Mar 4, 2019
Merged

a multifile sample derived from chatpp.as#207
crusso merged 6 commits intomasterfrom
claudio/app

Conversation

@crusso
Copy link
Copy Markdown
Contributor

@crusso crusso commented Mar 2, 2019

A simple example for Matthew of using multiple files for poor mans modular programming.

It turns out that asc already lets you specify multiple .as files (for both interpretation and compilation).

The semantics is to simply concatenate the files and treat them as a single program (so no namespace management yet).

NB: for compilation (only) you need to explicitly specify the output using -o <filename>.wasm file …

@nomeata
Copy link
Copy Markdown
Contributor

nomeata commented Mar 3, 2019

Do you want to execute that from make in samples, to avoid bitrot?

@crusso
Copy link
Copy Markdown
Contributor Author

crusso commented Mar 4, 2019

Done. Also added a simple README and sample output.

@crusso crusso requested review from matthewhammer and nomeata and removed request for nomeata March 4, 2019 10:47
@crusso crusso requested a review from nomeata March 4, 2019 10:49
@crusso crusso merged commit a7dc0ff into master Mar 4, 2019
@crusso crusso deleted the claudio/app branch March 4, 2019 22:54
dfinity-bot added a commit that referenced this pull request Jan 14, 2021
mergify bot pushed a commit that referenced this pull request Jan 14, 2021
dfinity-bot added a commit that referenced this pull request Jun 30, 2023
## Changelog for ic-hs:
Branch: master
Commits: [dfinity/ic-hs@b1444b4c...1ef6a251](dfinity/ic-hs@b1444b4...1ef6a25)

* [`1ef6a251`](dfinity/ic-hs@1ef6a25) parse Boolean values in CBOR ([dfinity/ic-hs⁠#207](https://github.com/dfinity/ic-hs/issues/207))
dfinity-bot added a commit that referenced this pull request Jul 1, 2023
## Changelog for ic-hs:
Branch: master
Commits: [dfinity/ic-hs@b1444b4c...f802ac37](dfinity/ic-hs@b1444b4...f802ac3)

* [`1ef6a251`](dfinity/ic-hs@1ef6a25) parse Boolean values in CBOR ([dfinity/ic-hs⁠#207](https://github.com/dfinity/ic-hs/issues/207))
* [`f802ac37`](dfinity/ic-hs@f802ac3) update Wasm validation conditions ([dfinity/ic-hs⁠#185](https://github.com/dfinity/ic-hs/issues/185))
mergify bot pushed a commit that referenced this pull request Jul 1, 2023
## Changelog for ic-hs:
Branch: master
Commits: [dfinity/ic-hs@b1444b4c...f802ac37](dfinity/ic-hs@b1444b4...f802ac3)

* [`1ef6a251`](dfinity/ic-hs@1ef6a25) parse Boolean values in CBOR ([dfinity/ic-hs⁠#207](https://github.com/dfinity/ic-hs/issues/207))
* [`f802ac37`](dfinity/ic-hs@f802ac3) update Wasm validation conditions ([dfinity/ic-hs⁠#185](https://github.com/dfinity/ic-hs/issues/185))
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

Successfully merging this pull request may close these issues.

3 participants