source: mainline/uspace/dist/src/bithenge/trip.bh

Last change on this file was 02dcb20, checked in by Sean Bartell <wingedtachikoma@…>, 13 years ago

Bithenge: add test files and comment support

  • Property mode set to 100644
File size: 266 bytes
Line 
1transform point = struct {
2 .lat <- uint32le;
3 .lon <- uint32le;
4};
5
6transform named_point = struct {
7 .name <- ascii <- zero_terminated;
8 <- point;
9};
10
11transform main = struct {
12 .from <- named_point;
13 .to <- named_point;
14 .distance <- uint32le; # in kilometers
15};
Note: See TracBrowser for help on using the repository browser.