Интерпретатор ЯП Tick-tock, v2.2.1
Posted on

Интерпретатор языка программирования Tick-tock.
Improving tests and refactoring.
Change Log
- improving tests:
- generate mocks inside packages in which they are used;
- simplify tests:
- of the
translatorpackage; - of the
builtinpackage;
- of the
- refactoring:
- use the
github.com/thewizardplusplus/go-sync-utilspackage:- replace the
waiter.Waiterinterface tosyncutils.WaitGroupone; - replace the
testutils.NewSynchronousWaitertype tosyncutils.MultiWaitGroupone; - use the
syncutils.UnboundedSend()function in theruntime.ConcurrentActor.SendMessage()method;
- replace the
- fix functions:
- make public:
parser.ParseToAST()function;translator.TranslateExpression()function;
- rename the
translator.Translate()function totranslator.TranslateProgram()one; - remove the
parser.Parse()function.
- make public:
- use the
Описание
Репозиторий
Ссылка: https://github.com/thewizardplusplus/tick-tock/tree/v2.2.1.
Содержание: код, документация, инструменты (подсветка синтаксиса) и примеры.
Лицензия:
- кода — MIT;
- документации — CC BY 4.0.