Comments (4)
Now that I think about it. maybe a toggle button in the text editor panel would be better.
Because otherwise, you would have to change the syntax highlighting based on what is read in the first line.
And maybe a reserved byte in the .tic files to selected the language used.
0000 0000 -> LUA
0000 0001 -> moonscript
from tic-80.
Don't think that changing of syntax highlighting based on first line is a problem and like the idea with [moonscript] tag. Also as I see Moonscript keywords are the same as in Lua.
from tic-80.
Added Moonscript support in 0.15.0
https://twitter.com/tic_computer/status/822081314601963520
from tic-80.
done.
from tic-80.
Related Issues (20)
- [enhancement] inform languages versions (lua, js, etc) in "help version" command HOT 2
- Final horizontal scrolling correction.
- [request enhancement] mouse button events HOT 3
- imported code adds a trailing space in all lines
- [flatpak]: save to XDG_DOCUMENTS_DIR
- [flatpak]: pro version
- GameShell: Cannot launch version 1.1.2837 Pro (be42d6f) HOT 1
- [idea] virtual files (or tabs) inside cartridges.. for organize libs, classes, etc HOT 2
- [website] redisign the "play" section
- [website] Creation of a new website by the community HOT 12
- Slow Tic80 is back. HOT 5
- tic80 doesn't find my required lua files HOT 10
- Problem while making new binding, demo example not loading HOT 2
- [idea] optional serial/telnet console for debugging HOT 1
- Can't add credentials in code editor. HOT 3
- Raspberry Pi TIC-80 not connecting to network HOT 1
- JavaScript: Update to QuickJS-NG
- load command behaves oddly around the website HOT 1
- Report cart to remove from tic80.com
- Music editor bug: note preview mute uses wrong channel
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tic-80.