Teal

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
User avatar
Madrayken
Party member
Posts: 126
Joined: Sun May 04, 2014 4:21 pm
Location: Oakland CA
Contact:

Teal

Post by Madrayken »

Hi folks,
As my Moonring project has grown ever larger, and lua has allowed my messiest and least pleasant coding proclivities to go unchecked, I've been looking around for an alternative to my beloved Love2D. And I've hated them all so far, for one reason or another. :-)
Someone suggested I look at 'Teal' which adds type-checking for lua, and it seems like - if I can get it to work - it should help rein in my worst habits.

Teal is here: https://github.com/teal-language/tl

Having installed it, I can create teal files from the command line, convert them to .lua files and even get them type-checked if I use the correct VSCode extensions... allegedly.

In my early experiments, I've simply tried doing basic stuff like running love.exe from the command line. So far, I haven't found a way to work on a Teal project and have it create a Love target in a sensible way.

However:
1) If any of the necessary config files for teal are in there, love borks.
2) I'm using VSCode, and have no idea how to integrate this at all: https://github.com/MikuAuahDark/love2d-tl

My goal is to be able to code in Teal in VSCode, press compile (even debug) and have it launch a Love instance, just as lua does now.

Has anyone else tried Teal with Love2d? Any tips on how to get it all set up? Many thanks in advance, regardless.

- Dene
Discord: https://discord.gg/tYfHgXc
Bandcamp: https://madrayken.bandcamp.com/
Twitter: @Fluttermind
3xau1o
Prole
Posts: 4
Joined: Sat Nov 30, 2024 4:28 pm

Re: Teal

Post by 3xau1o »

Just got basic teal with lick, nothing fancy
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Amazon [Bot], Bing [Bot], Google [Bot] and 18 guests