Ngn/k: Difference between revisions

From The K Language Wiki
< Ngn
Content added Content deleted
No edit summary
No edit summary
Line 21: Line 21:
}}
}}


'''ngn/k''' is an implementation of the K6 standard created by [[ngn]]. It has been rewritten more than once, and has undergone many changes from its original iteration, borrowing ideas from many [[Arthur Whitney]] Ks, and occasionally deviating from their functionality.
'''ngn/k''' is an implementation of K6 created by [[ngn]]. It has been rewritten more than once, and has undergone many changes from its original iteration, borrowing ideas from many [[Arthur Whitney]] Ks, and occasionally deviating from their functionality.


ngn/k is written in [[Whitney-style C]], and is written to be performant, compact, and with minimal dependencies.
ngn/k is written in [[Whitney-style C]], and is written to be performant, compact, and with minimal dependencies.

Revision as of 12:42, 8 January 2022


ngn/k
Developer ngn
Released 2017

Dialect K6
Temporal types none
Table support yes (no prettyprinting)
Prototypes yes

Implemented in C
Platforms x86_64
Operating Systems Linux, BSD, Windows(unofficial)
License AGPL

Website Codeberg
Documentation in repl
Run Online editor (Bitbucket, Codeberg), repl (Bitbucket, Codeberg)

Influenced By K7, K9

ngn/k is an implementation of K6 created by ngn. It has been rewritten more than once, and has undergone many changes from its original iteration, borrowing ideas from many Arthur Whitney Ks, and occasionally deviating from their functionality.

ngn/k is written in Whitney-style C, and is written to be performant, compact, and with minimal dependencies.

History

Development on ngn/k was started on April 9, 2017[1]. The older Github repository for ngn/k points towards kparc.io[2] for its spec.

The codebase was then moved to Gitlab. The exact date is not known since the repository no longer exists on the site.

The ngn/k repl and editor was created in October 2020 and subsequently moved from ngn.bitbucket.io to ngn.bitbucket.io/k[3]. It has remained in that state ever since.

The codebase was the moved to Sourcetree on December 21, 2020[4].

The current version of ngn/k resides in Codeberg, and the move was officially announced on May 21, 2021[5]. The codeberg repository has its initial commit at 2019, where it had support for x86_64 linux only.

Running

The main way of running ngn/k is building it. This can be done reliably on Unix-like systems with the help of either clang-12 or gcc-10 C compilers, and the make utility. Build instructions can be found in the ngn/k README file.

ngn/k has a WASM distribution available online. These can be accessed from the "Run Online" links in the sidebar. The Codeberg page is restricted in some countries.

Traws has a fork of ngn/k on Github which is made for compilation under cosmopolitan libc.

References