Releases: kagsa/kagsa
1.2.0
KAGSA 1.2.0 ( 8 June ) :
- Fix
Math
library
The Math
module was not working due to some bugs in the Python code.
- Replace
System.input()
toSystem.read()
.
Now you should use System.read()
.
- Fix the illegal char error of Lexer.
Fix some problems in illegal char errors.
- Fix
Keyboard.record()
function (now works).
This function was not working properly, the problem is now resolved
- Add
reverse()
method forstr
andlist
.
lst = list(1,2,3);
str = "hello"
write lst.reverse()
write reverse(lst)
// [3,2,1]
write str.reverse();
write reverse(str)
// olleh
- Add
sorted()
method forlist
.
lst = list(3,25,42,44,66,99,10,4);
write lst.sorted()
write sorted(lst)
// [3, 4, 10, 25, 42, 44, 66, 99]
- New way to compile and include libraries.
External dealings with kgl libraries will not differ, but the defining and including of libraries has been reformulated in order to be smaller. You cannot use the libraries of this version with other versions, and you cannot use the libraries of other versions in this version.
- New Commands on the Command Line.
The first :
kagsa --setup LIB.kgl
kagsa -s LIB.kgl
is to setup the library next to the source code of KAGSA kagsasrc/libs
, so that you do not need to add the library to your project folder, the second:
kagsa --unsetup LIB.kgl
kagsa -us LIB.kgl
is to unsetup a library that you setup before, and the last command is :
kagsa --cleantmp
kagsa -ct
and it is used to delete temporary files Which KAGSA used, always when you call a KGL library to your project, KAGSA will create temp files to call it, so it is better to delete them every once in a while
- Fix the Jump command
There was a bug due to some modifications and now it works
Full Changelog: 1.1.1...1.2.0
1.1.1
Problems Fixed in 1.1.1 (Hot Fix) :
- fix problem in
parse_sformat.py
.var name = 'ali' ; write "Name : %{name}";
- fix problem in
input
keyword.write 'Hi, Welcome',input "Whats Your Name?"
- fix problem in lexing the
input
keyword.var num1 = toInt(input "Enter a Number :")
- fix problem that if you write variable without
var, string, int, float, list, dict
.myname = 'KAGSA'
- fix libraries compile.
kagsa -l file.kg -o file.kgl
- fix problem in
@KAGSA.latest()
calling.write 'Last KAGSA Version :', @KAGSA.latest()
- fix some wrong things in documents.
1.1.0
Feature of New Version 1.1.0 :
- new way to parse string format to take every thing inside
${}
.- OLD : fomat string only take just one variable inside
${}
- OLD : fomat string only take just one variable inside
- fix some problem ins parser.
- OLD : problems in run this code
var output = '5 = 5'
- OLD : problems in run this code
PATH
variable.Web
module\framework for frontend.jump
keyword.- allow this way
datatype.method()
to deal with methods.- OLD : only this way
method( datatype )
- OLD : only this way
dir()
function to read all items inside any class.@KAGSA
class.- New KAGSA Console.
1.0.1
Feature of New Version 1.0.0 :
1 - Allow symbols in variable name (@$^~?)
2 - Variable name can start with number.
3 - New way to dealing with JSON/Dict data.
4 - Fix problem in run code ( kagsa path\with\backslash )
5 - Some shortcut in parser.
6 - Dealing with bytes.
7 - Continue keyword.
8 - not() func in condition words.
9 - Fix variable names lexing (var vari = '')
10- New keywords for variables (string, int, float, dict, list)
11- Add dealing with class.
12- Make a new libararies system with (include) keyword.
13- Distribution the parts of KAGSA in many files.
14- More speed than 0.1.5 version