Skip to content

Releases: Ironfacebuster/kepler-interpreter

Kepler Alpha 1.5

30 Nov 19:23
06ccaec
Compare
Choose a tag to compare
Kepler Alpha 1.5 Pre-release
Pre-release

The Performance Update!

Kepler a1.5 has seen major performance improvements over the previous versions, as well as some bug fixes.
(We also now use .NET 5.0, which can be downloaded and installed alongside Kepler.)

For a Sieve of Eratosthenes up to 10k, Alpha 1.4 would complete in just about 30 seconds. Alpha 1.5 has brought that time down to just under 3 seconds.

With this update, Alpha 1.5 can be up to 10 times faster than previous versions!

Documentation

With better performance comes better documentation!

The new docs provide useful information about Types, Operations, and more!

Check out the new docs here: https://www.ironfacebuster.tk/kepler/docs

Libraries

Kepler now provides various internal libraries that you can link to your script!

Have you ever wanted to get user input?
How about generate a random number?
Well, now you can, with relative ease!

Thank you for downloading Kepler!

Be sure to check out changelog.txt in your installation directory for a full list of changes!

If you have any questions, requests, or bug reports, feel free to leave an Issue in the Issues tab.

Kepler Alpha 1.4

22 Oct 15:31
c11f00d
Compare
Choose a tag to compare
Kepler Alpha 1.4 Pre-release
Pre-release

Finally, Alpha 1.4 has been released!

This update brings along various improvements, additions, and changes, such as:

  • Throwing custom errors
  • Function return values!
  • Internal functions
  • And more!

Be sure to check out changelog.txt in your installation directory for a full list of changes!

Before installing this (or any version), I would recommend you uninstall any current version you have installed.

If you have any questions, requests, or bug reports, feel free to leave an Issue in the Issues tab.

Kepler Alpha 1.3.2

13 Sep 19:11
76a2bd4
Compare
Choose a tag to compare
Kepler Alpha 1.3.2 Pre-release
Pre-release

Another bugfix release, this time primarily focused on intervals.

As always, check changelog.txt for a list of changes from version to version!

If you have any questions, requests, or bug reports, feel free to leave an Issue in the Issues tab.

Alpha 1.3.1

09 Sep 15:36
3500da5
Compare
Choose a tag to compare
Alpha 1.3.1 Pre-release
Pre-release

This update contains some minor bugfixes and usability improvements.

Be sure to check changelog.txt for a full list of changes!

Kepler Alpha 1.3

08 Sep 17:13
5daa288
Compare
Choose a tag to compare
Kepler Alpha 1.3 Pre-release
Pre-release

The biggest update so far! This update contains a few very useful features and some bug fixes.

Be sure to check out changelog.txt for more changes not listed here!

Installer changes

I have removed the .NET Core installer executable from the Kepler installer. This is to save on file size and possibly prevent some problems it may have caused when actually installing Kepler.

This has resulted in an installer size drop from around 53MB to only 276KB!

If statement improvements

Now, you can chain together equalities as conditions (with some limitations)!

As of now, only "and" and "or" are available.

For example:

if PI * 2 equals TAU [or] 2_PI equals TAU
    print "TAU detected!"
endif

As with Kepler math, parenthesis grouping is not a feature yet, so ensuring a certain order is a little more challenging.

Infinite loops and intervals

You can also create infinite loops and intervals!

Intervals will run regardless of blocking loops, but only one infinite loop can be active at a time.

Here's an example of both intervals and infinite loops:

! 250ms interval
! this will run every 250ms regardless of the infinite loop
start every 250
    print "250ms has passed!"
end every

!infinite loop
start forever
    print "forever..."
end forever

The keyword "breakout" has also been added, to allow you to break out of intervals and loops. Breaking out of an interval will end the interval and prevent it from running again. Note that the breakout keyword does not function outside of intervals and loops.

Bug Fixes

Issue #3 has been fixed.

If you have any questions, requests, or bug reports, feel free to leave an Issue in the Issues tab.

Kepler Alpha 1.2

14 Jul 20:29
fd9ebb0
Compare
Choose a tag to compare
Kepler Alpha 1.2 Pre-release
Pre-release

Kepler Alpha 1.2 is a large functional update.

If statements

Conditional if statements have now been implemented!

You can now run blocks of code based on a predicate, albeit based on only one.

For example:

if PI * 2 equals TAU
    print "TAU detected!"
endif

Unfortunately, chaining predicates is not supported yet, and "else" has yet to be added.

Comparisons

More comparisons have been added!
You can now compare two numbers with >, >=, <, and <=.

Changelog

A changelog.txt is now provided by the installer, which will feature a list of all changes and bugfixes.

Special thanks

Special thanks to duckboycool for the first bug report (#1), which has now been fixed in this release!

If you have any questions, requests, or bug reports, feel free to leave an Issue in the Issues tab.

Kepler Alpha 1.1

13 Jul 13:15
6a80df2
Compare
Choose a tag to compare
Kepler Alpha 1.1 Pre-release
Pre-release

Kepler Alpha 1.1 is a small functional update.

Automatic type casting

Unlike number types will automatically be cast to be alike to the first type in the operation.

Note: casting a "float" to an "int" will truncate the float, rather than rounding.

Before

> print 1 + 1.5
          ^ Cannot "Add" mismatched types! (Int and Float)

After

> print 1 + 1.5
2

Static values

Not only do we have basic automatic type casting, we also have some built in static values!
A list of current static values can be found below:

  • E -> 2.7182818284590451
  • PI -> 3.141592653589793
  • TAU and 2_PI -> 6.2831853071795862
  • $_VERSION -> Currently installed Kepler version

You can access and modify all static values in the static_values.sc file in your Kepler installation directory!

You can use these static values just like normal variables!

> print "Kepler " + $_VERSION + " is really cool!"
Kepler v1a1.1 is really cool!

If you have any questions, requests, or bug reports, feel free to leave an Issue in the Issues tab.

Kepler Alpha 1 Installer

12 Jul 04:17
e905296
Compare
Choose a tag to compare
Pre-release

Kepler V1 Alpha 1 Installer

This release is the public release of the alpha interpreter for Kepler.
Unfortunately, the installer has not been signed. As a result, the UAC shows no publisher, and your antivirus may throw a false-positive.

You can find some example files (that may or may not work) in the installation directory.

Some notable features that are missing at this point in time:

  • Functions cannot return values.
  • Functions are only defined when their return type is defined.
  • There are no conditional statements (ie If, Else)
  • There are no breakable (or infinite) loops.