-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implementation of TS-like type aliases (structural recursion allowed through maps and lists). Basic aliases: ```baml type A = int type B = float type C = A | B ``` Recursive aliases: ```baml type RecursiveMap = map<string, RecursiveMap> type A = A[] type JsonValue = int | float | bool | string | null | JsonValue[] | map<string, JsonValue> ``` See also #1207 --------- Co-authored-by: Greg Hale <[email protected]>
- Loading branch information
1 parent
e9b4cb0
commit 6310c41
Showing
89 changed files
with
7,063 additions
and
704 deletions.
There are no files selected for viewing
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
Oops, something went wrong.