Skip to content

Latest commit

 

History

History
70 lines (53 loc) · 1.41 KB

TOOLS.md

File metadata and controls

70 lines (53 loc) · 1.41 KB

Included tools and scripts

Lex or Parse an SDL file

> build
> bin/sdlang lex sample.sdl
(...output...)
> bin/sdlang parse sample.sdl
(...output...)
> bin/sdlang to-sdl sample.sdl
(...output...)

Or, you can use DUB:

> dub build
> (...same as above...)

Unittests

> build-unittest
> bin/sdlang-unittest
(...output...)

Or, you can use DUB:

> dub build --config=unittest
> bin/sdlang-unittest

Build API Reference

Make sure ddox is installed and on the PATH. Then, run:

> build-docs

Finally, open 'docs/index.html' in your browser.

Programmer's Notepad 2 Project Files

Project files for Programmer's Notepad 2 are included. Just open SDLang-D.ppg.

DUB Package Files

As of SDLang-D v0.8.2, SDLang-D is a DUB package and is available in the DUB registry. The package name is sdlang-d.

All you have to do to use SDLang-D in your DUB-based project is include the following in your project's package.json file:

{
	...
	"dependencies": {
		"sdlang-d": "==0.8.3"
	}
}