Giter Site home page Giter Site logo

ggj2022's Introduction

Sylt-lang

The Sylt mascot codecov

Sylt is a statically typed dynamic programming language that compiles to Lua.

For information about how to use the language and get started with writing games in it, check out our language documentation at https://sylt.rs.

What makes Sylt unique?

The short version:

  • Strict typechecking that doesn't forces you to specify types
  • High levels of abstractions
  • Fast recompiles
  • Fast runtime
  • Fast iteration times
  • Simplicity in the syntax
  • C-style syntax with the taste of functional

Sylt has become a mix of functional-programming concepts mixed with more procedural code. The language itself is very small but still expressive. The typechecker is what sets it apart from Python and Lua, which usually end up being used for similar use-cases.

The Sylt typechecker is meant to not get in your way, so there's no need to write types anywhere in your code. If your program is correct the typechecker will be all fine with it.

This is meant to give the same rapid iteration speed as working in something like Python or Lua, but with the added peace of mind a strict static typechecker gives you.

Sylt and game jams

The language is made for game jams, and has been used in multiple. Unfortunately the language has been rewritten multiple times between each jam, and since there's no goal of making Sylt backwards compatible it means there are (currently) no games made in the most recent verision of the language.

Some cool small programs

fib :: fn a ->
    if a < 2 do
        a
    else
        fib(a - 1) + fib(a - 2)
    end
end

start :: fn do
    fib(23) <=> 28657
end

ggj2022's People

Contributors

fredthedino avatar sornas avatar emattfolk avatar th3tard1sparadox avatar quaqqer avatar vollells avatar

Watchers

James Cloos avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.