Skip to content

How are types encoded into the IR. #53

Answered by AttilaMihaly
DamianReeves asked this question in Q&A
Discussion options

You must be logged in to vote

Maybe it should be mentioned in that page that this is a simplified JSON just to illustrate the concept. The real JSON will be much more complex. For example, the above expression will translate to this JSON (it's too big with proper indentation so I included the compact version here):

["apply",["reference",null,[[["morphir"],["s","d","k"]],[["basics"]],["float"]],[]],["apply",["function",null,["reference",null,[[["morphir"],["s","d","k"]],[["basics"]],["float"]],[]],["reference",null,[[["morphir"],["s","d","k"]],[["basics"]],["float"]],[]]],["reference",["function",null,["reference",null,[[["morphir"],["s","d","k"]],[["basics"]],["float"]],[]],["function",null,["reference",null,[[["morphir"

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@DamianReeves
Comment options

Answer selected by AttilaMihaly
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants