Skip to content
/ stark Public
forked from stark-lang/stark

Main repository for the stark compiler frontend + vscode integration + language specs

License

Notifications You must be signed in to change notification settings

sowderca/stark

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stark-lang

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.

About

You can find more details about this project in the following blog post series:

Build

  • Open the solution src/stark-lang.sln with Visual Studio and build the solution with the Debug configuration.
  • To compile the runtime library written in Stark you can go to the folder src/runtime/core and run the command line build.cmd (which is a simple wrapper around the starkc compiler)

IDE Syntax Highlighting

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... (or CTRL+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 that tsc --version is running fine (you should have a version above 3.x or more)
  • 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 the core library.

License

This software is released under the BSD-Clause 2 license.

About

Main repository for the stark compiler frontend + vscode integration + language specs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%