Truck is a dynamic programming language with a focus on simplicity.
Example
use io
class Greeter {
constructor(name) {
this.name = name
}
salute() {
io.println("Hello " + this.name)
}
}
g = Greeter("world")
g.salute()
Getting started
git clone http://github.com/tarptaeya/truck
cd truck
python3 -m truck #[filename] or leave empty to run repl
Syntax highlighting
Syntax highlighting for vim is supported and associated files can be found in the vim directory of the project. Either copy the files yourself or execute install_vim.sh to automatically copy the vim files for you.
Release files for trucklang 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| trucklang-0.1.1.tar.gz | 10.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| trucklang-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 28.4 kB
Release files / trucklang-0.1.1.tar.gz
| Download URL | trucklang-0.1.1.tar.gz |
|---|---|
| Size | 10.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7b4f13541f79b09dcf631956b8ccaa3139c4143f9e43c094ff3e5b22fc64878a
|
|
BLAKE2b-256 checksum How to use checksums |
3050aa01a73a7863fe51b35f8501b9b6779953c91dbc83eac7abf8dfa401debb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.4
|
Release files / trucklang-0.1.1-py3-none-any.whl
| Download URL | trucklang-0.1.1-py3-none-any.whl |
|---|---|
| Size | 18.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
64fc79052cb2b72334708810eb9ebae272ef2e26328cafb2f8071ac24c4a2b3f
|
|
BLAKE2b-256 checksum How to use checksums |
7143eb419df6bac26e67f2e8d90c89c138aa49b42b658f55592cf5ae146481e7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.4
|