-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OSS-277-Claude-Inspired-Changes (#716)
Changes Inspired By Claude * Fix some documentation in the AST and Pass modules * Functions no longer have readability words after requires/returns * Fix toEndOfLine to accept 0 characters too. * Improve validation to recognize empty functions properly. * Add ShopifyCart test case * Teach Finder to find values recursively from the container * Revise overload checking to be smarter so that only the overloads that refer to different kinds of definitions or fields that have different type definitions are noted. * Don't bother warning about missing author references. * Don't warn about modesl without streaming data. * Make checking for event and result message generation in on clauses better and recursively search the statements * Make function validation use a specialized check for emptiness because its contents are not definitions * Get all tests working with these changes --------- Co-authored-by: reidspencer <[email protected]>
- Loading branch information
1 parent
ad91035
commit 5796a16
Showing
46 changed files
with
825 additions
and
874 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
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,9 +1,9 @@ | ||
context APlant is { | ||
source Source is { outlet Commands is type DoAThing } with { described as "Data Source" } | ||
sink Sink is { inlet Commands is type DoAThing } with { described as "Data Sink" } | ||
source Source is { outlet OutCommands is type DoAThing } with { described as "Data Source" } | ||
sink Sink is { inlet InCommands is type DoAThing } with { described as "Data Sink" } | ||
|
||
connector AChannel is { | ||
from outlet Source.Commands | ||
to inlet Sink.Commands | ||
from outlet Source.OutCommands | ||
to inlet Sink.InCommands | ||
} with { described as "A Channel" } | ||
} with { described as "A bunch of data flow connections" } |
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,7 +1,7 @@ | ||
context Whatever is { | ||
record Identity is { name: String, id: UUID, age: Integer } | ||
record Identity is { name: String, uuid: UUID, age: Integer } | ||
group AcquireIdentity is { | ||
form Identity takes record Whatever.Identity | ||
form GetIdentity takes record Whatever.Identity | ||
} | ||
handler DoIt is { ??? } | ||
} |
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
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
Oops, something went wrong.