Repository navigation
Croft 0.1.0
What's Changed
- feat: add the dn trial compiler, glossary and example by @briward in #1
- feat(std): add the Console port and Unit as the default return type by @briward in #16
- feat(types): add the Bytes type by @briward in #17
- feat(std): add Std.Files by @briward in #18
- feat(storage)!: choose repository storage in dn.toml by @briward in #19
- feat(std): add Std.Http by @briward in #20
- feat(storage): let programs write storage and repository adapters by @briward in #21
- feat(syntax): add _ as a match wildcard by @briward in #22
- feat(types): add single-value types by @briward in #23
- feat(std): add Map from Std.Collections by @briward in #24
- feat(types): add generic values and functions by @briward in #25
- feat(types): give string fields their own capacity by @briward in #26
- feat(project): read targets and adapters from dn.toml by @briward in #5
- feat(domain): add the domain as the program's entry point by @briward in #6
- feat(domain): add the context map, adapter starting values and the event outbox by @briward in #7
- feat(constraints): check constraints in debug builds by @briward in #8
- feat(syntax): add bit operators and binary literals by @briward in #9
- feat(types): add Decimal fixed-point numbers by @briward in #10
- feat(adapters)!: write an adapter's body after = by @briward in #11
- feat(syntax)!: rename uses to calls by @briward in #12
- feat(constraints): allow parameter constraints in a contract by @briward in #13
- refactor(constraints): call where clauses constraints by @briward in #14
- feat(std)!: add Std.Text and Std.Numbers and trim the runtime by @briward in #15
- feat(syntax): parse and check the current dn syntax by @briward in #2
- feat(type-checking): type-check bodies with a type model by @briward in #3
- feat(codegen): generate C89 from checked programs by @briward in #4
- refactor: rename dn to b by @briward in #30
- Rename dn to b, and add editor support and a language server by @briward in #31
- test: replace the dungeon example with a logistics fixture from the blue book by @briward in #32
- refactor: rename b to croft, with .croft and .cro source files by @briward in #33
- refactor: Rename to Croft, add
runCLI support. by @briward in #34 - feat(repositories): Improve the design of repositories by mirroring the port/adapter design. by @briward in #35
- feat: add factories as the only way to make a new aggregate by @briward in #36
- feat(performance): Improve performance of scalar storage. by @briward in #37
- feat(performance): Further improvements to performance of scalar storage. by @briward in #38
- feat(performance): Size the return string values of functions the same. by @briward in #39
- perf: write early returns straight into the result, and reuse temporaries. by @briward in #40
- perf: work out whole numbers in 16 bits where every value fits by @briward in #41
- docs: name the parts of a declaration and the kinds of block by @briward in #42
- feat(logo): Add branding, with logotype, icon, banner assets. by @briward in #43
- Add CI badge to README by @briward in #44
- fix(lsp): Fix a few misteps in the LSP checking for built-ins and domains specifically. by @briward in #45
- docs: dual-license under MIT or Apache-2.0, and add contributing guide, code of conduct and issue templates by @briward in #46
- perf: keep each Bytes in the size it can need by @briward in #47
- feat: join Bytes with + by @briward in #48
- feat: list the names in a folder with Files.list by @briward in #49
- refactor: move the standard contexts and their adapters' C into a croft_std crate by @briward in #50
- feat: fill the gaps in Text, lists, Result, Bytes and Files by @briward in #51
- docs: improve the README, adding a new why croft section. by @briward in #52
- perf: keep each list in the size it can need by @briward in #53
- feat(formatter): Add formatter to CLI. by @briward in #54
- fix: check constraints when compiling, and on every target while running by @briward in #55
- feat: list called ports like use, call them by name, and allow aliases by @briward in #56
- chore(zed): build the grammar with calls from and as by @briward in #57
- fix(lsp): offer only the contextual words the parser reads by @briward in #58
- feat(cli): run a project without a croft.toml, and pick the only target by @briward in #59
- fix(runtime): give None from to_int for numbers past Int's range by @briward in #60
- fix(std): CurlHttp speaks only http(s), bounds redirects and keeps the last headers by @briward in #61
- fix(std): fail instead of silently cutting paths, headers and arguments short by @briward in #62
- fix(codegen): check what loading an aggregate from Storage reads by @briward in #63
- fix: make Int exactly 32 bits with overflow and division-by-zero checks by @briward in #64
- feat(std): add Std.Random with a SeededRandom adapter by @briward in #73
- feat(std): add Std.Time with Date, Time, the Clock port and SystemClock by @briward in #72
- feat(std): read lines, print errors and exit through Std.Console by @briward in #71
- feat(std): add clamp, pow, sign and checked arithmetic to Std.Numbers by @briward in #75
- feat(std): send request headers and take URLs up to 1024 characters in Std.Http by @briward in #74
- fix: own Decimal overflow message, inline signed division, and a z88dk 16-bit int test by @briward in #76
- perf(cli): build croft run's C optimised with every warning on by @briward in #70
- fix(analysis): require a Length on a let list or map that set changes by @briward in #69
- perf(codegen): sort lists with a stable merge sort by @briward in #66
- perf(codegen): add to the list being set in place by @briward in #67
- fix(runtime): failures on stderr, NotFound only for missing files by @briward in #65
- perf(codegen): borrow Bytes and size each by its own Length or the target's bytes_length by @briward in #68
- feat(std): add Files.size, Files.rename and Files.read_part by @briward in #77
- docs: keep the README light, with the details in the reference by @briward in #81
- feat(std): add the Environment port to Std.Console by @briward in #82
- feat(std): character codes, hexadecimal and decimal text, and whitespace trim in Std.Text by @briward in #78
- feat(std): add Set, list unique, insert and fold, and two-parameter lambdas by @briward in #80
- fix(std): reject a Date its month doesn't have by @briward in #85
- ci: run the z88dk tests in a job of their own by @briward in #83
- feat(std): add Std.Encoding with hex, base64, percent-encoding and CRCs by @briward in #79
- fix(codegen): check every port call's arguments against its parameters' constraints by @briward in #84
- fix(syntax): reject a single lambda parameter in brackets by @briward in #88
- fix: five checker and codegen bugs found while adding the standard library by @briward in #86
- perf(codegen): keep a string with no Length in the target's strings_length by @briward in #87
- feat(std): publish DayInMonth and is_leap_year from Std.Time by @briward in #89
- fix(codegen): write each serializer only when something calls it by @briward in #90
- docs: move the reference to croftlang.com/learn by @briward in #92
- ci: build and publish release binaries on a version tag by @briward in #98
New Contributors
Full Changelog: https://github.com/croftlang/lang/commits/v0.1.0