8000 Release 0.6.0 by ArthurPV · Pull Request #647 · thelilylang/lily · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Release 0.6.0 #647

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
97 changes: 97 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,102 @@
# Changelog

## 0.6.0 - 2024-10-22

### Added

- Add C standard stdlib header [#559](https://github.com/thelilylang/lily/pull/559)
- Add variadic parameter support to function [#565](https://github.com/thelilylang/lily/pull/565)
- Add stdarg function builtins [#567](https://github.com/thelilylang/lily/pull/567)
- Add `__builtin_va_copy` function builtin [#568](https://github.com/thelilylang/lily/pull/568)
- Add C standard stdarg header [#571](https://github.com/thelilylang/lily/pull/571)
- Add C standard stdio header [#572](https://github.com/thelilylang/lily/pull/572)
- Add C standard stdbool header [#573](https://github.com/thelilylang/lily/pull/573)
- Add ability to discard function call value [#574](https://github.com/thelilylang/lily/pull/574)
- Add the ability to disable use of fork in the test library [#581](https://github.com/thelilylang/lily/pull/581)
- Add `-fsanitize=address` to link options [#582](https://github.com/thelilylang/lily/pull/582)
- Add new tests to Vec type [#583](https://github.com/thelilylang/lily/pull/583)
- Add new tests to HashMap type [#585](https://github.com/thelilylang/lily/pull/585)
- Add new tests to Str (char*) type [#587](https://github.com/thelilylang/lily/pull/587)
- Add `-f`/`--file` option to CI CLI [#588](https://github.com/thelilylang/lily/pull/588)
- Add scientific notation support to `atof__*` function [#590](https://github.com/thelilylang/lily/pull/590)
- Add `--standard`/`-s` option to CI CLI [#594](https://github.com/thelilylang/lily/pull/594)
- Add `--include`/`-I` option to CI CLI [#596](https://github.com/thelilylang/lily/pull/596)
- Add `--include0` option to CI CLI [#599](https://github.com/thelilylang/lily/pull/599)
- Add some new tests to CI [#604](https://github.com/thelilylang/lily/pull/604)
- Typecheck union data type [#605](https://github.com/thelilylang/lily/pull/605)
- Add some new tests to CI [2] [#609](https://github.com/thelilylang/lily/pull/609)
- Add C standard string header [#610](https://github.com/thelilylang/lily/pull/610)
- Add C standard ctype header [#611](https://github.com/thelilylang/lily/pull/611)
- Typecheck goto statement [#618](https://github.com/thelilylang/lily/pull/618)
- Add some new tests to CI [3] [#620](https://github.com/thelilylang/lily/pull/620)
- Add some new tests to CI [4] [#622](https://github.com/thelilylang/lily/pull/622)
- Resolve array access in expression access (e.g. ->, .) [#627](https://github.com/thelilylang/lily/pull/627)
- Implement all data type qualifiers [#632](https://github.com/thelilylang/lily/pull/632)
- Add a check for data type qualifier [#636](https://github.com/thelilylang/lily/pull/636)
- Add \__gnuc_va_list support to `stdarg.h` [#641](https://github.com/thelilylang/lily/pull/641)
- Add stdnoreturn header for C standard library [#642](https://github.com/thelilylang/lily/pull/642)
- Scan `~` and `~=` token [#643](https://github.com/thelilylang/lily/pull/643)
- Add some checks to data type contexts [#645](https://github.com/thelilylang/lily/pull/645)

### Changed

- Allow void cast from all types [#575](https://github.com/thelilylang/lily/pull/575)
- Allow to implicit cast from array to struct (vice versa) [#576](https://github.com/thelilylang/lily/pull/576)
- Improve test library [#580](https://github.com/thelilylang/lily/pull/580)
- Improve installation script [#586](https://github.com/thelilylang/lily/pull/586)
- Update `BUILD.md` to add steps for FreeBSD [#591](https://github.com/thelilylang/lily/pull/591)
- Use `c2x` instead of `c23` as possible values for the `standard` option [#595](https://github.com/thelilylang/lily/pull/595)
- Display expected value per option in the help [#597](https://github.com/thelilylang/lily/pull/597)
- Update `scripts/compare_ci.sh` according the new CLI options [#601](https://github.com/thelilylang/lily/pull/601)
- Make the warning preprocessor valid in all standards [#603](https://github.com/thelilylang/lily/pull/603)
- Allow implicit cast from integer to float or vice versa [#606](https://github.com/thelilylang/lily/pull/606)
- Make `bool` implicitly castable as an integer [#607](https://github.com/thelilylang/lily/pull/607)
- Generate `_Bool` when standard is less than C23 [#608](https://github.com/thelilylang/lily/pull/608)
- Allow to discard more expressions [#612](https://github.com/thelilylang/lily/pull/612)
- Allow to pass c23 instead of c2x as value of standard option [#617](https://github.com/thelilylang/lily/pull/617)
- Assume that a `string` literal is an array of char [#619](https://github.com/thelilylang/lily/pull/619)
- Allow to use storage class inside function [#621](https://github.com/thelilylang/lily/pull/621)
- Allow multiple expressions to `for` init clause [#623](https://github.com/thelilylang/lily/pull/623)
- Update `BUILD.md` [#624](https://github.com/thelilylang/lily/pull/624)
- Return 0 when a non-defined macro is encountered [#625](https://github.com/thelilylang/lily/pull/625)
- Use `bits/libc-header-start.h` header in `stdio.h` [#628](https://github.com/thelilylang/lily/pull/628)
- Update examples [#629](https://github.com/thelilylang/lily/pull/629)
- Update documentations [#630](https://github.com/thelilylang/lily/pull/630)
- Update `README.md` [#631](https://github.com/thelilylang/lily/pull/631)
- Allow different syntaxes to data type qualifier [#633](https://github.com/thelilylang/lily/pull/633)
- Define `_Bool` when using the C89 standard [#640](https://github.com/thelilylang/lily/pull/640)

### Fixed

- Fix bug in struct or union type name generation [#561](https://github.com/thelilylang/lily/pull/561)
- Fix: Generate storage class for variable declaration [#562](https://github.com/thelilylang/lily/pull/562)
- Fix: Stop to pre-calculate size or alignment of custom type [#560](https://github.com/thelilylang/lily/pull/560)
- Fix a segfault when the config path could not be found [#563](https://github.com/thelilylang/lily/pull/563)
- Fix: Check the number of macro parameters if there are none [#564](https://github.com/thelilylang/lily/pull/564)
- Fix a segmentation fault when no expression was passed to the variable when checking the expression of the variable declaration [#566](https://github.com/thelilylang/lily/pull/566)
- Fix leak when declaration is recursive (struct, ...) [#569](https://github.com/thelilylang/lily/pull/569)
- Fix leak when the visit waiting list got collision [#570](https://github.com/thelilylang/lily/pull/570)
- Fix condition of statement typecheck [#577](https://github.com/thelilylang/lily/pull/577)
- Fix potential bug in `for` statement typecheck [#578](https://github.com/thelilylang/lily/pull/578)
- Fix potential bug in for statement typecheck [2] [#579](https://github.com/thelilylang/lily/pull/579)
- Fix some leaks during Lily compilation [#584](https://github.com/thelilylang/lily/pull/584)
- Fix `scripts/compare_ci.sh` [#589](https://github.com/thelilylang/lily/pull/589)
- Fix C suffixes integer [#592](https://github.com/thelilylang/lily/pull/592)
- Fix build when `LILY_BUILD_LLVM` is on [#593](https://github.com/thelilylang/lily/pull/593)
- Fix: Get absolute directory from include CLI option value [#598](https://github.com/thelilylang/lily/pull/598)
- Fix parser never jump in else preprocessor [#600](https://github.com/thelilylang/lily/pull/600)
- Fix lack of standardization of `signed char` keyword [#602](https://github.com/thelilylang/lily/pull/602)
- Fix segfault during typecheck of for init clause [#613](https://github.com/thelilylang/lily/pull/613)
- Fix bug in typecheck of function body item [#614](https://github.com/thelilylang/lily/pull/614)
- Fix bug in generation of for init clause semicolon [#615](https://github.com/thelilylang/lily/pull/615)
- Fix bad generation of post/pre dec/increment operator [#616](https://github.com/thelilylang/lily/pull/616)
- Fix unary operator parsing [#626](https://github.com/thelilylang/lily/pull/626)
- Fix unknown typedef while using `stdio.h` on Ubuntu [#635](https://github.com/thelilylang/lily/pull/635)
- Fix a wrong order of generation of data type qualifiers [#637](https://github.com/thelilylang/lily/pull/637)
- Fix extra space after data type generation [#638](https://github.com/thelilylang/lily/pull/638)
- Fix some bugs in parsing of typedef declaration [#639](https://github.com/thelilylang/lily/pull/639)
- Fix macro scan when encountering a comment line [#644](https://github.com/thelilylang/lily/pull/644)

## 0.5.0 - 2024-09-21

### Added
Expand Down
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.20)
project(
lily
VERSION 0.5.0
VERSION 0.6.0
HOMEPAGE_URL "https://github.com/thelilylang/lily"
LANGUAGES C CXX)

Expand All @@ -22,7 +22,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)

set(LILY_VERSION_MAJOR 0)
set(LILY_VERSION_MINOR 5)
set(LILY_VERSION_MINOR 6)
set(LILY_VERSION_PATCH 0)
set(LILY_VERSION
"${LILY_VERSION_MAJOR}.${LILY_VERSION_MINOR}.${LILY_VERSION_PATCH}")
Expand Down
25 changes: 13 additions & 12 deletions docs/release_schedule.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,17 @@
| v0.3.0 | Continue to implement CI (2). | 2024-07-21 |
| v0.4.0 | Continue to implement CI (3). | 2024-08-22 |
| v0.5.0 | Continue to implement CI (4). | 2024-09-21 |
| v0.6.0 | Continue to implement CI (5). | 2024-10-21 |
| v0.7.0 | Add some basic features | 2024-11-21 |
| v0.8.0 | Implement OOP | 2024-12-21 |
| v0.9.0 | Begin to write Std library + Core library | 2025-01-21 |
| v0.10.0 | Implement @std.C.* | 2025-03-21 |
| v0.11.0 | Implement contract oriented programming | 2025-07-21 |
| v0.12.0 | Continue to write Std library | 2025-10-21 |
| v0.13.0 | Continue to write Std library (Containers) | 2025-12-21 |
| v0.14.0 | Implement C mode | 2026-03-21 |
| v0.15.0 | Implement C++ mode | 2026-06-21 |
| v0.16.0 | ASM features | 2026-09-21 |
| v0.17.0 | Thread + Future data type | 2026-12-21 |
| v0.6.0 | Continue to implement CI (5). | 2024-10-22 |
| v0.7.0 | Continue to implement CI (6). | 2024-11-21 |
| v0.8.0 | Add some basic features | 2024-12-21 |
| v0.9.0 | Implement OOP | 2025-01-21 |
| v0.10.0 | Begin to write Std library + Core library | 2025-02-21 |
| v0.11.0 | Implement @std.C.* | 2025-03-21 |
| v0.12.0 | Implement contract oriented programming | 2025-07-21 |
| v0.13.0 | Continue to write Std library | 2025-10-21 |
| v0.14.0 | Continue to write Std library (Containers) | 2025-12-21 |
| v0.15.0 | Implement C mode | 2026-03-21 |
| v0.16.0 | Implement C++ mode | 2026-06-21 |
| v0.17.0 | ASM features | 2026-09-21 |
| v0.18.0 | Thread + Future data type | 2026-12-21 |
| v1.0.0 | Self host and add some other features |--------------|
4 changes: 2 additions & 2 deletions include/cli/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
#define LILY_CLI_VERSION_H

#define MAJOR 0
#define MINOR 5
#define MINOR 6
#define PATCH 0

#define VERSION "0.5.0"
#define VERSION "0.6.0"

#endif // LILY_CLI_VERSION_H
2 changes: 1 addition & 1 deletion scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ set -e
BASH_CONFIG="$HOME/.bashrc"
ZSH_CONFIG="$HOME/.zshrc"
FISH_CONFIG="$HOME/.config/fish/config.fish"
LATEST_VERSION="0.5.0"
LATEST_VERSION="0.6.0"
LOCAL_BIN_DIR="./bin"
LOCAL_BUILD_DIR="./build"
CURRENT_SHELL=""
Expand Down
Loading
0