##// END OF EJS Templates
Make frontender option actually work
Make frontender option actually work

File last commit:

r47:fa3235d6 default
r47:fa3235d6 default
Show More
README.md
44 lines | 1.7 KiB | text/x-minidsrc | MarkdownLexer
formatting
r7 (инструкции на Русском - внизу)
Localization. Renamed to txt2web
r46 # txt2web
Alexander Sukhoverkhov
Initial commit
r0 Compiler for QSP games which creates monolithic HTML pages.
100% parser, 100% macros, 50% intrinsics, 10% api, 0% misc
r1
## Usage
There are three mastery levels
Another one
r5 1. Just build me the game:<br/>
Localization. Renamed to txt2web
r46 `txt2web game.txt`<br/>
100% parser, 100% macros, 50% intrinsics, 10% api, 0% misc
r1 And it will create the game in game.html
Another one
r5 2. I know what I'm doing:<br/>
Localization. Renamed to txt2web
r46 `txt2web game.txt -o game.html --body body.html --js jquery.js my-js-library.js --css styles/*.css`<br/>
100% parser, 100% macros, 50% intrinsics, 10% api, 0% misc
r1 All options are self-explanatory. The result is a monolithic html specified
with the `-o` option. Default `body.html` (used by the first mastery level) can
be found in `extas` directory.
Tutorial game works!
r6 3. I'm a frontend developer!<br/>
Localization. Renamed to txt2web
r46 `txt2web game.txt -c -o game.js`<br/>
100% parser, 100% macros, 50% intrinsics, 10% api, 0% misc
r1 It just builds the game script into a js you can put on your website. To run
Make frontender option actually work
r47 the game execute `qsp_start()`
100% parser, 100% macros, 50% intrinsics, 10% api, 0% misc
r1
Localization. Renamed to txt2web
r46 # txt2web
100% parser, 100% macros, 50% intrinsics, 10% api, 0% misc
r1 Компилятор для игр на QSP создающий монолитные страницы на HTML.
## Инструкции
Есть три уровня мастерства.
formatting
r7 1. **Просто собери мне игру**:<br/>
Localization. Renamed to txt2web
r46 `txt2web game.txt`<br/>
100% parser, 100% macros, 50% intrinsics, 10% api, 0% misc
r1 Создаст игру в game.html
formatting
r7 2. **Я знаю что делаю**:<br/>
Localization. Renamed to txt2web
r46 `txt2web game.txt -o game.html --body body.html --js jquery.js my-js-library.js --css styles/*.css`<br/>
A few parser fixes
r13 Если вы знаете что делаете, то для вас смысл опций очевиден. `body.html` и `default.css`
лежат в каталоге `extras`.
100% parser, 100% macros, 50% intrinsics, 10% api, 0% misc
r1
formatting
r7 3. **Я - фронтендер!**<br/>
Localization. Renamed to txt2web
r46 `txt2web game.txt -c -o game.js`<br/>
100% parser, 100% macros, 50% intrinsics, 10% api, 0% misc
r1 Просто соберёт игру в Javascript файл который вы можете разместить на своём
Make frontender option actually work
r47 сайте как вам угодно. Чтобы запустить игру: `qsp_start()`