-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Переезд на .net 6 * рефакторинг модели типа токена * обновление пайплайнов в связи с переездом на новый .NET * Update Readme.md * update version * перенос DoubleValueConverter в тело инструкции, поскольку он используется только там * Черновик контрактов front-end'а интерпретатора * каркас сущности для внутренностей парсера * реорганизация папок * переименование папок по принципу feature directory * В рамках проектирования модели создан контекст FrontEnd, где находятся сущности, отвечающие за создание AST, включая само AST * bugfix * небольшое форматтирование * bugfix * небольшие инфраструктурные изменения: поскольку теперь сущности интерпретатора не конструируются на основе исходного текста, с которым придётся работать, то понятие запроса на создание сущности больше не нужно * suppressing possible NRE using language feature * Подстроил инфраструктуру под использование новых доменных контрактов * доработка контрактов доменной модели * удалил неиспользуемый класс * Выпилил всё, что связано с оптимизацией * Применил паттерн Декоратор для реализация логгируемых сущностей * переместил логгируемые сущности в инфраструктуру, так как, по сути они не относятся к домену * маштабная реорганизация файлов - 3 верхнеуровневых контекста: FrontEnd - лексер, парсер (создание AST) IR - промежуточное представление (AST, проверка семантики) BackEnd - виртуальная машина и её инструкции * solution rename * Спецификация категории тестов * Небольшой рефакторинг бэкенда * removed unused usings * рефакторинг ошибок семантики * повысил порог coverage до 80% * рефакторинг печати в виртуальной машине * реорганизация папок фичи GetTokens * реорганизация бэкенда * рефакторинг модели символов и использованием ковариантных вохвращаемых типов * lexer tests * fix tests * more lexer tests * StructureTests.cs * реорганизация папок в тестах * vm tests * more vm tests * vm tests refactoring * factorial unit test * Instruction.cs refactoring * coverage * values tests * coverage * coverage * coverage * fix Readme.md * rename file * Instructions tests * test suffix * coverage * removed unused * exception guidelines https://docs.microsoft.com/en-us/dotnet/csharp/fundamentals/exceptions/creating-and-throwing-exceptions#defining-exception-classes * infrastructure coverage
- Loading branch information
Showing
201 changed files
with
1,958 additions
and
1,737 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 1 addition & 3 deletions
4
...eter.Lib/IR/Instructions/BeginFunction.cs → ...Lib/BackEnd/Instructions/BeginFunction.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 1 addition & 2 deletions
3
...reter.Lib/IR/Instructions/CallFunction.cs → ....Lib/BackEnd/Instructions/CallFunction.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 1 addition & 2 deletions
3
...preter.Lib/IR/Instructions/CreateArray.cs → ...r.Lib/BackEnd/Instructions/CreateArray.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 1 addition & 2 deletions
3
...reter.Lib/IR/Instructions/CreateObject.cs → ....Lib/BackEnd/Instructions/CreateObject.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 2 additions & 3 deletions
5
...eter.Lib/IR/Instructions/DotAssignment.cs → ...Lib/BackEnd/Instructions/DotAssignment.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 1 addition & 3 deletions
4
Interpreter.Lib/IR/Instructions/Goto.cs → Interpreter.Lib/BackEnd/Instructions/Goto.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 1 addition & 3 deletions
4
Interpreter.Lib/IR/Instructions/Halt.cs → Interpreter.Lib/BackEnd/Instructions/Halt.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 2 additions & 3 deletions
5
Interpreter.Lib/IR/Instructions/IfNotGoto.cs → ...ter.Lib/BackEnd/Instructions/IfNotGoto.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 2 additions & 3 deletions
5
...er.Lib/IR/Instructions/IndexAssignment.cs → ...b/BackEnd/Instructions/IndexAssignment.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 3 additions & 16 deletions
19
...preter.Lib/IR/Instructions/Instruction.cs → ...r.Lib/BackEnd/Instructions/Instruction.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 2 additions & 3 deletions
5
...eter.Lib/IR/Instructions/PushParameter.cs → ...Lib/BackEnd/Instructions/PushParameter.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 2 additions & 3 deletions
5
...er.Lib/IR/Instructions/RemoveFromArray.cs → ...b/BackEnd/Instructions/RemoveFromArray.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 2 additions & 3 deletions
5
Interpreter.Lib/IR/Instructions/Return.cs → ...preter.Lib/BackEnd/Instructions/Return.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
Interpreter.Lib/VM/Values/Constant.cs → Interpreter.Lib/BackEnd/Values/Constant.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
namespace Interpreter.Lib.VM.Values | ||
namespace Interpreter.Lib.BackEnd.Values | ||
{ | ||
public class Constant : IValue | ||
{ | ||
|
2 changes: 1 addition & 1 deletion
2
Interpreter.Lib/VM/Values/IValue.cs → Interpreter.Lib/BackEnd/Values/IValue.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
Interpreter.Lib/VM/Values/Name.cs → Interpreter.Lib/BackEnd/Values/Name.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
namespace Interpreter.Lib.VM.Values | ||
namespace Interpreter.Lib.BackEnd.Values | ||
{ | ||
public class Name : IValue | ||
{ | ||
|
Oops, something went wrong.