Skip to content
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
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,15 @@

## v0.1.1

### Highlights

- **Dot-access syntax for maps**: `u.foo` reads a field off a map value, supported at every expression precedence level (including unary and `if` conditions), with a runtime error for missing fields or non-map operands.
- **`typeof` builtin**: Runtime type introspection for values.

### Improvements

- **Fix**: Map literals (`{ key: value }`) now evaluate to `Value::Map` instead of erroring.
- **Fix**: Array literals (`[ expr, ... ]`) now evaluate to `Value::Array` instead of erroring.
- **Dot-access syntax for maps**: `u.foo` reads a field off a map value, supported at every expression precedence level (including unary and `if` conditions), with a runtime error for missing fields or non-map operands.

## v0.1.0

Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "flt"
version = "0.1.0"
version = "0.1.1"
edition = "2021"
description = "a 'lite' functional language"
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ The runtime currently evaluates a subset of that syntax.

```toml
[dependencies]
flt = "0.1.0"
flt = "0.1.1"
```

## Quick start
Expand Down
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ This folder contains initial documentation for the `flt` language as it exists i

## Scope

These docs describe the currently implemented parser and CLI evaluator for version `0.1.0`.
These docs describe the currently implemented parser and CLI evaluator for version `0.1.1`.
2 changes: 1 addition & 1 deletion docs/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ cargo run -p flt-cli -- version
Expected output:

```text
flt version 0.1.0
flt version 0.1.1
```

## Start the REPL
Expand Down
2 changes: 1 addition & 1 deletion features/cli.feature
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ Feature: flt version
Scenario: flt version
When the command `flt version` is run
Then it should exit with status code 0
And the output should contain "flt version 0.0.2"
And the output should contain "flt version 0.1.1"
Loading