Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added support for fastspin compiler alongside openspin and bstc #54

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions src/propelleride/config/compiler.fastspin
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[General]
LANGUAGE=spin
PATTERN_IN=.spin
PATTERN_OUT=.binary
PATTERN_RET=.binary
ARG_FLAGS=
ARG_LIBRARY=-L%
ARG_OUTPUT=-o%
RE_ERROR="(.*?)\\.spin\\s*\\(\\s*([0-9]+)\\s*:\\s*([0-9]+)\\s*\\)\\s*:\\s*error\\s*:\\s*(.*)"
RE_SUCCESS=(Done)
1 change: 1 addition & 0 deletions src/propelleride/config/config.qrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<qresource prefix="/config">
<file>compiler.bstc</file>
<file>compiler.openspin</file>
<file>compiler.fastspin</file>
<file>compiler.propbasic</file>
</qresource>
</RCC>
Expand Down
3 changes: 2 additions & 1 deletion src/propelleride/languages/spin.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"extension": [ "spin" ],
"buildsteps": [
[ "bstc" ],
[ "openspin" ]
[ "openspin" ],
[ "fastspin" ]
],
"includes": true,
"syntax": {
Expand Down