This is the main repository of the stark programming language.
The repository is in early development stage, so the user experience for developing with Stark is manual and very limited (basic syntax highlighting in VS Code and compilation via build scripts)
The front-end compiler, runtime library in Stark and a simple IDE integration is available.
Note also that the compiler is a prototype and may have bugs.
You can find more details about this project in the following blog post series:
- Open the solution
src/stark-lang.sln
with Visual Studio and build the solution with theDebug
configuration. - To compile the runtime library written in Stark you can go to the folder
src/runtime/core
and run the command linebuild.cmd
(which is a simple wrapper around thestarkc
compiler)
You need to have Visual Studio Code installed.
- Open the folder
src/editors/vscode/stark
with Visual Studio Code - Run the build task via the menu
Terminal/Run Build Task...
(orCTRL+SHIFT+B
on Windows).- If the build is failing, it could be a misconfiguration of npm/tsc. Open a terminal from VSCode and run the command
npm install -g typescript
. Check thattsc --version
is running fine (you should have a version above3.x
or more)
- If the build is failing, it could be a misconfiguration of npm/tsc. Open a terminal from VSCode and run the command
- Press F5 and it should open a new Visual Studio Code instance with the syntax highlighting for Stark and a pseudo integration with a compiler server (nothing is actually plugged there).
- With this new Visual Studio Code instance, open the folder
src/runtime
and you should be able to play with the syntax/language by changing thecore
library.
This software is released under the BSD-Clause 2 license.