cupscript
Preql
cupscript | Preql | |
---|---|---|
4 | 16 | |
24 | 594 | |
- | - | |
0.0 | 0.0 | |
over 1 year ago | over 1 year ago | |
Python | Python | |
- | GNU General Public License v3.0 or later |
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.
cupscript
-
i created a interpreted programing language in python! (now with working link)
Oh nice I followed that tutorial and created it from scratch few years back also shared here, its a pretty good tutorial but at that time I was kind of blindly following and didn't understand much but later updated with import statements, implicit variable declarations, and something like python's if __name__ == "__main__" and a File Handler objectit was pretty fun ngl now I am studying programming languages properly and trying to make one,you can check it here https://github.com/Fus3n/cupscripteverything I did in a way it may not be useful but you can look into the code and extend from it, it probably looks exactly the same (btw mine has some bugs)
-
Made a Programing language using python
Lexer or also called a tokenizer is basically the first step of all of it. A lexer class takes in the text/user input (also filename for context to throw errors in my case) and goes through every single character and checks if any of it matches with the character I pass in if statements, if it does then if it is a '+' for example it will append a new token to a list (mine is called tokens) using the Token class you can check that out too a token class takes a Token type and a value so the type is PLUS here and the value is '+' all my types are stored in consts.py and then the tokens get passed to the parser
Preql
- Pql, a pipelined query language that compiles to SQL (written in Go)
-
PRQL, Pipelined Relational Query Language
Hm, I just realized there are two similar projects with very similar names: this one, and
https://github.com/erezsh/Preql
-
Oops, I wrote yet another SQLAlchemy alternative (looking for contributors!)
First, let me introduce myself. My name is Erez. You may know some of the Python libraries I wrote in the past: Lark, Preql and Data-diff.
-
Why don't SQL transpilers take off?
Example of language that implements this: https://github.com/erezsh/Preql
-
Even Babies fear … Fu**ing SQL
But what about PreQL?
-
Show HN: PRQL – A Proposal for a Better SQL
It seems people here are really interested in alternatives to SQL. So perhaps you'd also like to have a look at https://github.com/erezsh/Preql
(Same name, same goal, different approach, and already working)
-
Made a Programing language using python
There's also lark, which is used by a plethora of projects (I haven't used it, but I heard about PreQL on a podcast where they talk for a bit about what it's like to develop a new language in lark)
-
A primer on programming languages for data science
Just want to mention preql exists as an option - https://github.com/erezsh/Preql
- Ask HN: SQL tooling: REPL-likes, Intellisense, etc.
-
Against SQL
I share the author's point of view, which led me to start a new relational programming language that compiles to SQL. If that sounds interesting, you can find it here: https://github.com/erezsh/Preql
What are some alternatives?
Lark - Lark is a parsing toolkit for Python, built with a focus on ergonomics, performance and modularity.
prql - PRQL is a modern language for transforming data — a simple, powerful, pipelined SQL replacement
py-myopl-code - Interpreter for the BASIC language written in Python 3
PyPika - PyPika is a python SQL query builder that exposes the full richness of the SQL language using a syntax that reflects the resulting query. PyPika excels at all sorts of SQL queries but is especially useful for data analysis.
rel8 - Hey! Hey! Can u rel8?
malloy - Malloy is an experimental language for describing data relationships and transformations.
db-benchmark - reproducible benchmark of database-like ops
prosto - Prosto is a data processing toolkit radically changing how data is processed by heavily relying on functions and operations with functions - an alternative to map-reduce and join-groupby
PostgreSQL - Mirror of the official PostgreSQL GIT repository. Note that this is just a *mirror* - we don't work with pull requests on github. To contribute, please see https://wiki.postgresql.org/wiki/Submitting_a_Patch
spyql - Query data on the command line with SQL-like SELECTs powered by Python expressions
jrutil
BQL - BQL: A Better Query Language, SQL Superset