Skip to content

Commit

Permalink
Merge branch 'release-1.0.0' into better_PrintStatment_expressions
Browse files Browse the repository at this point in the history
  • Loading branch information
TwitchBronBron authored Jan 3, 2025
2 parents 94a2850 + 09cd0ef commit d0b2cee
Show file tree
Hide file tree
Showing 34 changed files with 1,073 additions and 249 deletions.
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [0.66.0-alpha.0](https://github.com/rokucommunity/brighterscript/compare/v0.65.1...v0.66.0-alpha.0) - 2023-06-09
### Changed
- all the type tracking stuff!
## [0.68.2](https://github.com/rokucommunity/brighterscript/compare/v0.68.1...v0.68.2) - 2024-12-06
### Changed
- Add more convenience exports from vscode-languageserver ([#1359](https://github.com/rokucommunity/brighterscript/pull/1359))
- upgrade to [roku-deploy@3.12.3](https://github.com/rokucommunity/roku-deploy/blob/master/CHANGELOG.md#3123---2024-12-06). Notable changes since 3.12.2:
- Fix issues with detecting "check for updates required" ([roku-deploy#181](https://github.com/rokucommunity/roku-deploy/pull/181))
- Identify when a 577 error is thrown, send a new developer friendly message ([roku-deploy#180](https://github.com/rokucommunity/roku-deploy/pull/180))
- Bump dependencies to remove audit issues ([roku-deploy#178](https://github.com/rokucommunity/roku-deploy/pull/178))



## [0.68.1](https://github.com/rokucommunity/brighterscript/compare/v0.68.0...v0.68.1) - 2024-11-26
### Added
- Add Namespace Source Literals ([#1354](https://github.com/rokucommunity/brighterscript/pull/1354))
- Language server crash fix ([#1353](https://github.com/rokucommunity/brighterscript/pull/1353))
### Fixed
- Fix bug with ternary transpile for indexed set ([#1357](https://github.com/rokucommunity/brighterscript/pull/1357))
- Enhance lexer to support long numeric literals with type designators ([#1351](https://github.com/rokucommunity/brighterscript/pull/1351))



Expand Down
12 changes: 6 additions & 6 deletions benchmarks/package-lock.json

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

44 changes: 44 additions & 0 deletions docs/source-literals.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,50 @@ function Human_Versus_Zombie_Eat()
end function
```

## SOURCE_NAMESPACE_NAME

This works the same as SOURCE_FUNCTION_NAME except that it does not include the function name.

The SOURCE_NAMESPACE_NAME can be a useful string for debug logs and logging filters.

```BrighterScript
namespace Human.Versus.Zombie
function Eat()
print SOURCE_NAMESPACE_NAME
end function
end namespace
```

transpiles to:

```BrightScript
function Human_Versus_Zombie_Eat()
print "Human.Versus.Zombie"
end function
```

## SOURCE_NAMESPACE_ROOT_NAME

This works the same as SOURCE_NAMESPACE_NAME except that it only includes the lowest-level namespace.

The SOURCE_NAMESPACE_ROOT_NAME can be a useful string for debug logs and logging filters.

```BrighterScript
namespace Human.Versus.Zombie
function Eat()
print SOURCE_NAMESPACE_ROOT_NAME
end function
end namespace
```

transpiles to:

```BrightScript
function Human_Versus_Zombie_Eat()
print "Human"
end function
```

## SOURCE_LOCATION
A combination of SOURCE_FILE_PATH and SOURCE_LINE_NUM.

Expand Down
Loading

0 comments on commit d0b2cee

Please sign in to comment.