-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
124 additions
and
725 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
--- | ||
#literal 2 | ||
#expression | ||
_: lit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
|
||
--- | ||
#expression | ||
_: int-add(1) 10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,23 @@ | ||
some-key: kjh | ||
some-other-key: | ||
inner: | ||
- test test | ||
--- | ||
/* This is test */ | ||
/* import ./constants/constants.rain to root */ | ||
@ another-dotrain 0xc509e3a2bd58cb0062fb80c6d9f2e40cb815694f5733c3041c2c620a46f6ad94 | ||
elided 12 /* rebind the elided binding in the import */ | ||
'elided twelve /* and then rename to avoid shadowing the elided binding below */ | ||
'value const /* rename the value so it wont shadow the constant binding below */ | ||
@ kjh 0xaf77eb4dfbd7d49ae5fa46c3cc6b9150985bd04f4d0a974d10a9396a0e2b41ac | ||
/* elided 12 /* rebind the elided binding in the import */ | ||
/* 'elided twelve /* and then rename to avoid shadowing the elided binding below | ||
'value const rename the value so it wont shadow the constant binding below */ | ||
|
||
#value | ||
1e13 | ||
|
||
#elided | ||
! this is elided, rebind before using | ||
|
||
#kj | ||
_ _: add(1 2 0x1234546757567567 kjh.other-value kjh.my-address) div(12 12); | ||
|
||
#main | ||
_: another-dotrain.my-address, | ||
var: .another-dotrain.twelve, | ||
_: int-add(var int-max(.value)); | ||
using-words-from 0x123 | ||
_: int-add<'kj value kjh.my-address>(1 int-max(.value)) |