From 0bfb9cfd6c68be2004ac520d692e293728c4aff8 Mon Sep 17 00:00:00 2001 From: Elliott Slaughter Date: Wed, 1 Jun 2022 13:11:51 -0700 Subject: [PATCH] Add links to Replit. --- docs/getting-started.md | 5 +++++ docs/index.md | 2 ++ release/share/terra/README.md | 8 ++++++++ 3 files changed, 15 insertions(+) diff --git a/docs/getting-started.md b/docs/getting-started.md index 7b280b93..f76ca143 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -11,6 +11,11 @@ title: Getting Started Setup ===== +Run Terra in Your Browser via Replit +------------------------------------ + +The fastest way to try Terra is via [Replit](https://replit.com/@terralang/terra). You can run Terra in your browser without needing to install anything. Once you get a feel for the language, you can use the instructions below to install Terra on your computer. + Installing Terra ---------------- diff --git a/docs/index.md b/docs/index.md index c6b99f19..84d03796 100644 --- a/docs/index.md +++ b/docs/index.md @@ -44,6 +44,8 @@ __Terra__ is a low-level system programming language that is embedded in and met terralib.saveobj("helloterra",{ main = hello }) {: id="introcode"} +Try this example and others in your browser: https://replit.com/@terralang/terra + Like C/C++, Terra is a **statically-typed**, **compiled language** with manual memory management. But unlike C/C++, it is designed from the beginning to be **meta-programmed from Lua**. diff --git a/release/share/terra/README.md b/release/share/terra/README.md index cf810ec5..2731b3ec 100644 --- a/release/share/terra/README.md +++ b/release/share/terra/README.md @@ -5,6 +5,8 @@ Home Page: https://terralang.org Community: https://terralang.zulipchat.com +Replit: https://replit.com/@terralang/terra + Build Status: [![Build Status](https://github.com/terralang/terra/workflows/CI/badge.svg)](https://github.com/terralang/terra/actions) [![Build Status](https://ci.appveyor.com/api/projects/status/github/terralang/terra?branch=master&svg=true)](https://ci.appveyor.com/project/terralang/terra/branch/master) @@ -15,11 +17,17 @@ Furthermore, you can use Lua to meta-program Terra code. The Lua meta-program ha This guide serves as an introduction for programming in Terra. A general understanding of the Lua language is very helpful, but not strictly required. +Run Terra in Your Browser via Replit +==================================== + +The fastest way to try Terra is via [Replit](https://replit.com/@terralang/terra). You can run Terra in your browser without needing to install anything. Once you get a feel for the language, you can use the instructions below to install Terra on your computer. + Installing Terra ================ Terra currently runs Linux, macOS, FreeBSD, and 64-bit Windows. Binary releases for popular versions of these systems are available [online](https://github.com/terralang/terra/releases), and we recommend you use them if possible because building Terra requires a working install of LLVM and Clang, which can be difficult to get working. + Running Terra =============