stasyamba / l1specializer Goto Github PK
View Code? Open in Web Editor NEWSpecializer of L1 language
Specializer of L1 language
Выводить хотя бы место возникновения оной.
Сделать поддержку флагов и параметров командной строки.
L1Specializer.exe in.l1 -out:in.exe <флаг чего делаем>
Флаг чего делаем:
-c - компилируем (опция по умолчанию), по умолчанию выходной файл - <имя входного>.exe
-s - специализируем, по умолчанию выходной файл <имя входного>_specialized.l1
-i - интерпретируем, параметр выходного файла игнорируется
Минимальная программа, приводящая к ошибке:
define int Main(int argc, int array array argv)
int a := f(NULL);
return a
end
define int f(int array array a)
return -1
end
Убрать тип char в том числе из стандартных функций. Символы теперь будут int'ами, а строки - массивы int'ов.
Переписать все комментарии во вменяемой кодировке.
IL должен включать в себя структуры данный для следующих конструкций:
variable = expression
goto label
if expression goto label
type v = expression
Т.е. IL - упрощенная для анализа и абстрактной интерпретации версия языка L1. Реализовать режим выполнения -ci - для тестирвоания перевода в IL.
Реализовать интерпретатор.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.