wiwinwlh
tl
wiwinwlh | tl | |
---|---|---|
5 | 54 | |
2,528 | 1,950 | |
- | 2.2% | |
0.0 | 7.7 | |
about 2 years ago | 3 months ago | |
Haskell | Lua | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
wiwinwlh
-
Počeo da učim Haskell
wiwibwlh
-
Update on The Haskell Guide
In this respect, The Haskell Guide is not a tutorial, project-based guide or textbook, which aims to give a more complete walk through the language, in a linear fashion, but more like a reference guide that is carefully designed to be accessible and clear. In that respect, it's like a beginner level version of What I Wish I Knew When I Learned Haskell, with more cross-referencing. (By the way, I don't think this is a substitute for more in-depth or didactically rich resources at all; it's trying to address a different problem.)
-
Wren is a small, fast, class-based concurrent scripting language
Many libraries try to stick to Haskell 98. Also whenever someone writes a paper about some new techniques, they always seem to take a lot of pleasure in pointing out when their technique works in Haskell 98.
I like that you can mix and match GHC extensions even in the same project. So one library (or even just one module) might use some crazy and messy extensions, but you can still use it from vanilla Haskell.
http://dev.stephendiehl.com/hask/#language-extensions has a list of extensions and some judgement on them.
For example, I really like TupleSections. They are not strictly necessary for anything, they are purely cosmetic / syntactic sugar. But they also don't cause any mess. https://ghc.gitlab.haskell.org/ghc/doc/users_guide/exts/tupl...
Also: TypedHoles are really neat for developing, and will never show up in your final code. https://ghc.gitlab.haskell.org/ghc/doc/users_guide/exts/type...
-
How was your study routine to become good at haskell?
Maybe try to implement something using Haskell? For example, try to read through: https://en.wikibooks.org/wiki/Write_Yourself_a_Scheme_in_48_Hours to see how the concepts are used in a "real world" setting. Also, https://github.com/sdiehl/wiwinwlh is an underrated resource imo. Anyways, the best way to learn Haskell is to just use it. I'm still learning myself, so I don't have much to say beyond that.
tl
-
Ravi is a dialect of Lua, with JIT and AOT compilers
it's based off MIR, does it have something to do with https://mlir.llvm.org/ ?
for typed lua, there is another effort https://github.com/teal-language/tl in addition to the mentioned typescript approach: https://github.com/andremm/typedlua
-
Lua Criticism Is Unwarranted
I had the pleasure of working with Lua 5.1 back in the late noughties. For me it's replaced Tcl whenever I want something I can configure above a C library. At the time I used it I found it quite nice but I'll also not forget the hours I wasted tracking down nil table corruptions which could have easily been caught by a type checker.
I had some hope that Luau https://luau-lang.org or Teal https://github.com/teal-language/tl would make things better but with the following example
function foo(x: number): string
- Why Fennel?
-
Algebraic data types in Lua (Almost) post
I wonder why the author doesn't use Teal [0] - a typed dialect of lua.
[O] https://github.com/teal-language/tl
-
Lua: The Little Language That Could
Check out Teal
-
What's the deal with Fennel in Neovim?
There is already https://github.com/teal-language/tl, which is typed Lua. I think fennel exists to serve a different niche-- personally I use it not for any type features; I just like the syntax better, and others may find certain features like the macro system useful.
- Using Lua with C++
- Teal – Type Hints for Lua
-
Using other languages
There's also some languages made to compile straight to Lua: - MoonScript is the most popular Lua wrapper - it's built to be more Python-like, featuring indentation-based scopes, function calls without parentheses, lambda syntax, list comprehension, and much more. - Yuescript is a modern update to MoonScript that adds more features (I haven't used it myself, so I'm not entirely sure exactly how it differs from MS). - Teal is a version of Lua that adds static typing for better code standards.
-
Bog – small, strongly typed, embeddable language
Terra and Nelua are both very different in goals than Teal. Teal is literally gradual types integrated into Lua keeping as many of Lua's idioms as possible (to a fault[1]). Terra and Nelua are both very metaprogrammable systems programming languages. Nelua's goals are primarily to soften C's rough edges, comparable to something like Nim.
There's another one you missed in Pallene[2]. But again, it's goal was to optimize the stack sharing involved in using the C API. It also adds types though and maintains Lua idioms as much as possible.
[1]: https://github.com/teal-language/tl/discussions/339
[2]: https://github.com/pallene-lang/pallene
What are some alternatives?
course-plan - 📜 Haskell course info, plan, video lectures, slides
luau - A fast, small, safe, gradually typed embeddable scripting language derived from Lua
fp-notes - Notes on Functional Programming and related topics
OpenBBTerminal - Investment Research for Everyone, Everywhere.
sense-lang - Sense is a very high level, functional programming language for creating software by writing only the absolute necessary information and not a single line above that.
packer.nvim - A use-package inspired plugin manager for Neovim. Uses native packages, supports Luarocks dependencies, written in Lua, allows for expressive config
haskell-docs
rpi-open-firmware - Open source VPU side bootloader for Raspberry Pi.
zero-bs-haskell - Learn Haskell, with tiny lessons.
luaforwindows - Lua for Windows is a 'batteries included environment' for the Lua scripting language on Windows. NOTICE: Looking for maintainer.
haskell-handbook - Best practices on how to be efficient with Haskell in production
pallene - Pallene Compiler