Comments (3)
The syntax validation isn't 100% complete implementation of NextBASIC's parser (mostly because the parser - as far as I know - is closed source), so it's mostly used as a helper.
Where I find there should be an error and my validation didn't pick it up, I'll normally try to adjust my logic for that use case - so your example code is perfect and can help me improve the tool for others too.
I've found most of the recent validation bugs have been around print statements and what's allowed with semi-colon separation and what's not.
I'll file as a bug and get a fix in.
from vscode-nextbasic.
ok cool, that makes sense. If i spot anything else ill shout. Thanks
from vscode-nextbasic.
Fixed in the latest release: 1.5.4 - thanks again.
from vscode-nextbasic.
Related Issues (20)
- Unable to run via CSpect on Windows HOT 3
- Space between number and int expression errors HOT 1
- Can the original autoexec.bas be protected/restored? HOT 1
- PRINT 1e6 fails HOT 2
- Command 'nextbasic.run' not found HOT 3
- Feature request: Multi conversion of txt2bas on RUN? HOT 1
- Export to .BAS causes errors with new NextZXOS 2.08 integer syntax HOT 1
- #xxx is unknown and not in a #define statement HOT 1
- New version of NextBasic HOT 1
- How to GOTO when #autoline used HOT 3
- V1.10.0 tokenising bug with ELSE IF HOT 2
- v1.11.0 #bank BANK20 gives error "A system error occurred (EROFS: read-only file system, open 'BANK20')" HOT 4
- #bank sections and index.bas not always building with RUNinCSpect v1.11.1 HOT 42
- LAYER PALETTE %0 BANK 32,%0 nonsense in basic
- PRINT POINT encoding bug HOT 5
- Possible EXPORT to Bank issue in Windows 11 HOT 6
- Export to .bas (when "strip comments enabled") renumbers exported file HOT 19
- 10 PRINT AT %1,%29;%840/PEEK 23672 HOT 2
- %d=%d-(IN 57342 &1)+(IN 57342 &2>>1) HOT 1
- Auto run of Index.bat fails from 1.11.0 onwards HOT 6
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 vscode-nextbasic.