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
7 changes: 4 additions & 3 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,18 @@

Interpreter executable is built during release for 3 following platforms:
- Windows (x64)
- MacOS (arm64 Apple Silicon)
- macOS (arm64 Apple Silicon)
- Linux (x64)

Download hydrascript executable on the corresponding release page.

[The latest relase is available here.](https://github.com/Stepami/hydrascript/releases/latest)
[The latest release is available here.](https://github.com/Stepami/hydrascript/releases/latest)

Alternatively you can consume HydraScript as dotnet tool:
```
dotnet tool update --global hydrascript
```
NuGet link: https://www.nuget.org/packages/hydrascript

## Project History

Expand Down Expand Up @@ -361,4 +362,4 @@ HydraScript file.js --dump
4. [Stanford CS143 Lectures](https://web.stanford.edu/class/archive/cs/cs143/cs143.1128/)
5. [Simple Virtual Machine](https://github.com/parrt/simple-virtual-machine)
6. Ахо А., Ульман Дж. Теория синтаксического анализа, перевода и компиляции
7. Свердлов С.З. Языки программирования и методы трансляции
7. Свердлов С. З. Языки программирования и методы трансляции
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using Cysharp.Text;
using HydraScript.Domain.FrontEnd.Parser.Impl.Ast.Nodes.Expressions.PrimaryExpressions;

namespace HydraScript.Domain.FrontEnd.Parser.Impl.Ast.Nodes.Declarations;
Expand Down Expand Up @@ -44,6 +43,5 @@ public override string ToString() =>
[AutoVisitable<TypeValue>]
public partial record ObjectTypeValue(List<PropertyTypeValue> Properties) : TypeValue
{
public override string ToString() =>
ZString.Concat('{', ZString.Join(';', Properties), '}');
public override string ToString() => $"{{{string.Join(';', Properties)}}}";
}