64bites / 64spec Goto Github PK
View Code? Open in Web Editor NEW6502/Commodore64 Testing Framework for KickAssembler
Home Page: http://64bites.com/64spec/
License: MIT License
6502/Commodore64 Testing Framework for KickAssembler
Home Page: http://64bites.com/64spec/
License: MIT License
Hi,
This is the error I get when I try to compile 64spec with kickass 4.7
//------------------------------------------------------
//------------------------------------------------------
// Kick Assembler v4.7 by Mads Nielsen
//------------------------------------------------------
//------------------------------------------------------
parsing
Got 140 errors while parsing:
(64spec.asm 157:68) Syntax error
(64spec.asm 157:3) If without body
(64spec.asm 158:86) Syntax error
(64spec.asm 158:3) If without body
(64spec.asm 159:73) Syntax error
...
.eval _64SPEC.set("_use_custom_assertion_failed_subroutine", false)
.function config_64spec(key, value) {
.if (validate_boolean_option("print_header", key, value)) .return
^
Error: Syntax error
at line 157, column 68 in 64spec.asm
Not sure if it is the newer versions of KA causing the issue, but many of the functions are not compiling due to the face that there are no VALUES on the .return clause. Main culprit seems to be in the function config_64spec.
I don't think that KA has a requirement for a value to be returned from a function?
Here is a sample of a compile from KA 4.8
Do you think I should open a error with Mads on KA?
> kickass 64spec.asm
//------------------------------------------------------
//------------------------------------------------------
// Kick Assembler v4.8 by Mads Nielsen
//------------------------------------------------------
//------------------------------------------------------
parsing
Got 322 errors while parsing:
(C:\Development\Workspace\6502\kickass-vscode-testing\64spec.asm 157:68) Syntax error
(C:\Development\Workspace\6502\kickass-vscode-testing\64spec.asm 157:3) If without body
(C:\Development\Workspace\6502\kickass-vscode-testing\64spec.asm 158:86) Syntax error
(C:\Development\Workspace\6502\kickass-vscode-testing\64spec.asm 158:3) If without body
(C:\Development\Workspace\6502\kickass-vscode-testing\64spec.asm 159:73) Syntax error
...
.eval _64SPEC.set("_use_custom_assertion_failed_subroutine", false)
.function config_64spec(key, value) {
.if (validate_boolean_option("print_header", key, value)) .return
^
Error: Syntax error
at line 157, column 68 in 64spec.asm
This is most likely due to following changes in 5.1:
11/11-2018 : New release (v5.1):
Escape chars (\b\f\n\r\t\") and hex values ($xx) in strings when using @. Eg: .text @"Hello world$ff"
Compatebility: Plain strings (strings without @) are now escape code free. (using " no longer works)
The following output is generated by KA:
//------------------------------------------------------
//------------------------------------------------------
// Kick Assembler v5.1 by Mads Nielsen
//------------------------------------------------------
//------------------------------------------------------
parsing
Got 8 errors while executing:
(C:\prj\cbm\c64lib\64spec\lib\64spec.asm 191:27) Syntax error
(C:\prj\cbm\c64lib\64spec\lib\64spec.asm 197:27) Syntax error
(C:\prj\cbm\c64lib\64spec\lib\64spec.asm 208:57) Syntax error
(C:\prj\cbm\c64lib\64spec\lib\64spec.asm 221:46) Syntax error
(C:\prj\cbm\c64lib\64spec\lib\64spec.asm 231:46) Syntax error
....if (validate_non_empty_string_option("result_file_name", key, value)) .return null
.if (validate_set_option("change_character_set", List().add(
_64SPEC_SET_OPTION("\"lowercase\"", "lowercase"),
^Error: Syntax error
at line 191, column 27 in C:\prj\cbm\c64lib\64spec\lib\64spec.asm
Link to failing build: https://travis-ci.org/c64lib/common/builds/459738499
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.