source: mainline/uspace/dist/src/bithenge/test-repeat.bh@ 0caaaa00

lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Last change on this file since 0caaaa00 was 0caaaa00, checked in by Sean Bartell <wingedtachikoma@…>, 13 years ago

Bithenge: add repeat(count) syntax

  • Property mode set to 100644
File size: 144 bytes
Line 
1transform main = struct {
2 .none <- repeat(0) { uint8 };
3 .one <- repeat(1) { uint8 };
4 .count <- uint8;
5 .many <- repeat(.count) { uint8 };
6};
Note: See TracBrowser for help on using the repository browser.