Skip to content

Commit

Permalink
v0.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
yhara committed Apr 25, 2023
1 parent 70d9633 commit f02014a
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 14 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
## v0.8.0 (2023-04-25)

- Breaking changes
- Require `let` for variable declaration (#418)
- Syntax
- feat: Method call with keyword arguments (#464)
- feat: Default value for method arguments (#469)
- feat: Add syntax to call a function stored in ivar (#420)
- Library
- new: `Object#gets` (#457), `Random` (#456), `File.read`, `File.write` (#450)
- Other
- feat: Windows support (#449)
- feat: `SHIIKA_ROOT` to specify builtin path (#461)
- bug fixes

## v0.7.1 (2022-11-04)

- Syntax
Expand Down
14 changes: 1 addition & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,15 +76,6 @@ See [tests/sk/](https://github.com/shiika-lang/shiika/tree/master/tests/sk) and

See [Issues](https://github.com/shiika-lang/shiika/issues) for more.

### Help wanted!

- Syntax support for editors, especially Vim (yes I use Vim)
- Fix parser to trace location information
- i.e. add location to AST
- and HIR
- Then we can improve error message greatly
- and it can be used for [LLVM debug info](https://releases.llvm.org/12.0.0/docs/LangRef.html#dilocalvariable)

### Roadmap (tentative)

- [x] v0.1.0 - Type system POC
Expand All @@ -95,11 +86,8 @@ See [Issues](https://github.com/shiika-lang/shiika/issues) for more.
- [x] v0.6.0 - Generic methods
- [x] v0.6.0 - Enums, basic pattern matching
- [x] v0.7.0 - Modules (like Ruby's `module`)
- [ ] v0.8.0 - More stdlib (File, etc)
- [x] v0.8.0 - Default arguments, keyword arguments
- After v1.0.0
- Language enhancement
- Default arguments
- Keyword arguments passing
- Built-in library
- Bignum, etc
- Standard library?
Expand Down
16 changes: 15 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ RUSTLIB_FILES = [
RUSTLIB_SIG,
"lib/skc_rustlib/Cargo.toml",
]
RUSTLIB_A = File.expand_path "~/tmp/cargo_target/debug/libskc_rustlib.a"
CARGO_TARGET = ENV["SHIIKA_CARGO_TARGET"] || "~/tmp/cargo_target"
RUSTLIB_A = File.expand_path "#{CARGO_TARGET}/debug/libskc_rustlib.a"
file RUSTLIB_A => RUSTLIB_FILES do
cd "lib/skc_rustlib" do
sh "cargo build"
Expand Down Expand Up @@ -125,6 +126,19 @@ file DEBUG_OUT => [A_BC, BUILTIN_BC, RUSTLIB_A, DEBUG_LL] do
DEBUG_LL
end

task "clang" do
sh "clang",
"-lm",
"-ldl",
"-lpthread",
"-o", "a.sk.out",
"-framework", "Foundation",
"-O0",
BUILTIN_BC,
RUSTLIB_A,
"a.sk.ll"
end

task :debugify => DEBUG_OUT

task :a => [:fmt, A_OUT]
Expand Down

0 comments on commit f02014a

Please sign in to comment.