Jel
Flexible, memory-safe, easy-to-use, interpreted programming language. work in progress
Example
Hello World:
print(Hello World!) # this is valid
print("Hello World!") # also valid
print(("" ("" ("" ("" Hello)))) ("" ("" ("" ("" World!))))) # also valid
Functions:
function(is_bigger (first second) bigger(get(first) get(second)))
print(is_bigger(20 5)) # true
Simple User Input:
let(username input("Hello! Whats your name? >>> "))
print(get(username))
Dynamic Libraries:
dylib(test ..\ffi\libtest.dll)
let(result native(test borrow "Hello!")) # prints "with formatted: Hello!"
print(get(result)) # prints "Hello!"
Variables
let(thing 10)
print(get(thing)) # prints 10
print(get(thing)) # error, "thing" is removed.
# in Jel, variables are deleted after being used. for preventing that, you can clone with clone(variable_name)
# or you can use clet library in /std folder to get faster but unsafe way to handle variables.
License
Jel is distributed under ALv2 license. for more information: