Call this v0.5.2

master
Pentium44 2021-04-12 02:39:19 -07:00
parent f0fa98d70c
commit bc74e93305
4 changed files with 13 additions and 4 deletions

View File

@ -2,7 +2,7 @@
# (C) Copyright 2014-2021 Chris Dorman, some rights reserved (GPLv2) # (C) Copyright 2014-2021 Chris Dorman, some rights reserved (GPLv2)
# Some changes and tweaks from Menchers # Some changes and tweaks from Menchers
VERSION = \"0.5.1\" VERSION = \"0.5.2\"
VERSION_EXTRA = \"$(EXTRA)\" VERSION_EXTRA = \"$(EXTRA)\"
PREFIX ?= /usr PREFIX ?= /usr

View File

@ -2,7 +2,7 @@
# (C) Copyright 2014-2021 Chris Dorman, some rights reserved (GPLv2) # (C) Copyright 2014-2021 Chris Dorman, some rights reserved (GPLv2)
# Some changes and tweaks from Menchers # Some changes and tweaks from Menchers
VERSION = \"0.5.1\" VERSION = \"0.5.2\"
VERSION_EXTRA = \"$(EXTRA)\" VERSION_EXTRA = \"$(EXTRA)\"
PREFIX ?= /usr PREFIX ?= /usr

View File

@ -32,6 +32,11 @@ at this moment!
* Commenting! Examples: * Commenting! Examples:
* # Comment is real in this one * # Comment is real in this one
* Comp and loop functions:
* comp: "1" "1" -> compares integer 1 and 1 -> returns true
* comp: "true" "false" -> compares string true and false -> returns false
* loop: 3; print "Hello world!" -> Will loop print "Hello world!" 3 times.
* Read, write, and cat(enate) functions. Examples: * Read, write, and cat(enate) functions. Examples:
* write "file.txt" "This will be written to file.txt" * write "file.txt" "This will be written to file.txt"
* read "file.txt" * read "file.txt"
@ -147,6 +152,10 @@ Changelog
Changes between version bumps in SlideScript. Hoping to have a lightweight top-down scripting language Changes between version bumps in SlideScript. Hoping to have a lightweight top-down scripting language
by V1.0.0 release! From there it will be molding and preserving the art. by V1.0.0 release! From there it will be molding and preserving the art.
* V0.5.2
* Bugfixes and tweaks
* Added loop and comp(are) statements
* V0.5.1 * V0.5.1
* Compression and decompression bugfixes * Compression and decompression bugfixes
* System working functions (move, chdir, and showpath) * System working functions (move, chdir, and showpath)

View File

@ -103,7 +103,7 @@ char *process_line(char *line)
// IF statement // IF statement
else if(strncmp("if:", tok_srch, 3) == 0) else if(strncmp("comp:", tok_srch, 5) == 0)
{ {
if(compbuf != NULL) if(compbuf != NULL)
{ {
@ -522,7 +522,7 @@ char *process_line(char *line)
sprintf(comp_size, "%s", origsize); sprintf(comp_size, "%s", origsize);
fclose(in); fclose(in);
for(uint32_t i = 1; i < 5; ++i) for(uint32_t i = 1; i < 11; ++i)
{ {
uint32_t comp_return = ss_compress(filename, file_comp, i); uint32_t comp_return = ss_compress(filename, file_comp, i);
uint32_t deco_return = ss_decompress(file_comp, filedecout); uint32_t deco_return = ss_decompress(file_comp, filedecout);