https://github.com/thomasvrgn/love
Imperative programming language that brings love by its simplicity.
https://github.com/thomasvrgn/love
compiler haskell language programming-language
Last synced: 9 months ago
JSON representation
Imperative programming language that brings love by its simplicity.
- Host: GitHub
- URL: https://github.com/thomasvrgn/love
- Owner: thomasvrgn
- Created: 2022-06-26T13:05:29.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-07-22T20:04:48.000Z (over 3 years ago)
- Last Synced: 2025-04-05T19:12:48.341Z (10 months ago)
- Topics: compiler, haskell, language, programming-language
- Language: Haskell
- Homepage:
- Size: 38.1 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Love Programming Language
A simple imperative programming language which will bring love to your life!
```go
func main() {
print("Hello, world!")
}
```
[]()
[](https://github.com/quark-lang/quark/issues)
[](https://github.com/quark-lang/quark/pulls)
[](/LICENSE)
## Modern features
- **Dynamically typed** for easy prototyping
- **Functional features** for efficient programming
- **Object implementation** for basic and easy object-oriented use
- **Easy syntax** for easy learning
- And much more...
## Some examples of Love
### Variables
```go
x := 6
print(x)
x = 2
print(x)
```
### Functions
Functions extend from functional programming as there are lambdas (AKA anonymous functions) and closures.
```go
func add(x, y) x + y
func sub(x, y) {
return x - y
}
main := func() {
print(add(5, sub(2, 3)))
}
```
### Structures
Structures are the way to do some object-oriented programming in the language. They are similar to javascript objects.
```go
person := struct {
name: "John Doe",
age: 37
}
print(person.name)
```
