RimStone is both a general purpose and an Application DSL (Domain Specific Language).
It's simple: RimStone offers built-in functionality for great many tasks needed for web, database, string processing, encoding/encryption, network programming, parsing, data structures and many other tasks you need all the time.
At the same time, RimStone is a general purpose language which is easy and memory-safe.
So instead of rolling up your sleeves and programming from scratch or learning APIs of various libraries, you can write natural one-liners.
It's like putting together pieces of a puzzle, and what you're doing is conducting an orchestra instead of playing every and all instruments imaginable at the same time.
RimStone is both declarative and imperative. That means you can reap the benefits of being both general purpose (so you can do exactly what you want) and Application DSL (so you can build applications from puzzle pieces in no time).
begin-handler /fetch public call-web "https://google.com" response text response-headers head print-out head new-line print-out text new-line end-handlerCopied!
RimStone is unlike other languages. It's simpler and declarative. You can do much in a single line.
Lots of great features and rich functionality. Build back-end applications super fast.
Built with industry-standard Free Open Source libraries for performance, functionality, stability and compatibility.
Memory safety that's fast and lean, so you can have both performance and safety.
Automatic memory release to avoid leaks in long-running server processes.
Smart status checking of your code to avoid mistakes from the get-go.
RimStone doesn't need sudo permissions because it installs in a home folder. Install RimStone now.
Visit Documentation for a clear and concise manual. Check out Examples too.
Performance is important. That's why RimStone makes native executables from smartly generated C code, optimized for speed and efficiency.
C is the fastest and most efficient and having it as a foundation is important.
Build for the web, build command-line programs, build application servers.
Powerful features such as database access, JSON, Regex, XML, encryption and more.
Licensed under Apache 2 Free Open Source License. Source code always at your fingertips at:
https://github.com/rimstone/rimstone
RimStone installs from source-only for safety and performance, so you don't need to download any binaries. Not to worry, the install process is fully automated. Install RimStone now.
begin-handler /update-order out-header use content-type "application/json" get-param order_id, item_id, quantity set-number arows // If quantity update is 0, issue SQL to delete an item from order, otherwise update if-true quantity equal "0" run-query @db ="delete from orderItems where orderID='%s' and itemID='%s'" \ : order_id, item_id no-loop affected-rows arows else-if run-query @db ="update orderItems set quantity='%s' where orderID='%s' and itemID='%s'" \ : quantity, order_id, item_id no-loop affected-rows arows end-if @"<<print-out arows>>" end-handlerCopied!
Current version is 3.4.0. This release passed 3107 functional tests. Check out RimStone blog for new releases and other news, including new examples.
Tested on major Linux distributions, such as Ubuntu, Debian, Redhat, Fedora, OpenSUSE and Arch.