kmx.io Blog
-
-
2024-08-06 18:14:40
Viewed 955 times
KC3 release v0.1.12
-
Today we released KC3 v0.1.12. This release is an important milestone as we are done renaming the project from C3 to KC3.
KC3 is a programming language with meta-programmation and a graph database embedded into the language. It aims to be the language for semantic programming, and programming the semantic web.
We are currently fundraising for the project to become real and there is a working prototype available at https://git.kmx.io/kc3-lang/kc3/, please see the https://www.kmx.io/en/donations.html page for helping out.
KC3 is currently a programming language project, inspired by C, Elixir and Common Lisp. It could be described as C with Elixir modules, pattern matching, and a semantic object system. The idea is to plug modules, closures, pattern matching, a graph database and metaprogramming into C99 with an extremely small set of dependencies.
New in this release
- libkc3
- access
- DONE buf_parse_call_access (Tag "." Sym)
- DONE access (Tag, Sym) => Tag
- modules
- defstruct
- control structures
- while
- Str eval :
"Hello, \#\{name} !"
- access
- EKC3
- embed KC3 in any file :
Hello, <%= name %> ! - escape HTML :
- ["&": "&", "<": "<", ">": ">", """: """, "'": '"]
- embed KC3 in any file :
- HTTP
- sockets
- request
- response
- HTTPd
make test_httpd
- libkc3
-
2024-08-06 18:14:40
Viewed 955 times
-
-
2023-10-24 12:00:00
Viewed 737 times
C3 v0.1.7 release
-
Today we released C3 v0.1.7 : https://git.kmx.io/c3-lang/c3/_tag/v0.1.7.
There is no stable branch, development tree is available as branch
master: https://git.kmx.io/c3-lang/c3.Features
C3 is a programming language with meta-programmation and a graph database embedded into the language. It aims to be the language for semantic programming, and programming the semantic web.
Links
- Windows : c3-0.1.7.win64.zip (Size: 5.7M, SHA256: a8d798c910921a3398bdaa4ce888ac755aa13072ae4f62e9e5a38fc40ebed049)
- Linux, BSD : c3-0.1.7.tar.gz (Size: 40.4M, SHA256: 9f5ecceae823563a3dd03030bd90ebb652d456948bed5fadd74c4eb430003add)
Added features in this release
- Facts (graph database)
- Atomic operations
- Serial ID for triples (quadruples with the serial ID).
- Variables
- Equal operator, similar to Elixir.
- Funcall : call a function in a variable.
- Operators
- Operator definitions are held in the graph database
(see
lib/c3/0.1/c3.facts)
- Operator definitions are held in the graph database
(see
- Cast
- A cast is defined as a function :
Module.cast(Tag) -> Module.type
- A cast is defined as a function :
- Arrays
- Arrays are in the form
(U8) {1, 2, 3}
- Arrays are in the form
- Modules
- A module is just a symbol, all metadata is stored in the graph database.
- Autoload : a module will reload automatically if content changes.
- C functions
- Functions
- Modified tests to be grouped by test case.
- Added a CI on https://git.kmx.io/c3-lang/c3/
Next features for v0.1.8
Proposed features for the next release are :
- facts
- negative facts : 4 + 2n = not 3 + 2n
- with ignore variables
- math
- floating point numbers
- lists
- structs
- errors (setjmp, longjmp)
- stacktrace
- ffi ?
- libdwarf
- control structures
- while
- modules
- defmodule
- functions
- return
- def
- funcall
- & &1
- macros
- livebook
- gaussian
- buf_sha256
- buf_popen
- tests
- coverage
Contributing
Join us on Discord to help with development of C3.
You can also see the kmx.io donations page to contribute financially, any amount is appreciated. All work is financed through donations for now.
-
2023-10-24 12:00:00
Viewed 737 times
-
-
2022-12-22 23:36:49
Viewed 759 times
cl-unix-cybernetics release v0.3.3
-
Today we released cl-unix-cybernetics v0.3.3.
https://git.kmx.io/thodg/cl-unix-cybernetics/_tree/v0.3.3/
This project used to be named Adams. It was renamed in this release to cl-unix-cybernetics.
-
2022-12-22 23:36:49
Viewed 759 times
-
-
2022-02-22 12:00:00
Viewed 775 times
kmxgit 0.3.0 is online
-
Today we released kmxgit v0.3.0 : https://git.kmx.io/kmx.io/kmxgit/_tag/v0.3.0.
The new stable branch is v0.3 : https://git.kmx.io/kmx.io/kmxgit/_tree/v0.3.
Features
- Anyone can register and create private and public git repositories.
- Access control is managed through SSH keys.
- All services are hosted on OpenBSD 7.0-stable .
Added features
- Disk usage
- Per repo
- Per user
- Per organisation
- Server-wise
- Footer
- environment variable
- Fonts : Inter & Courier New
- Dark navbar
- Users
- Profile picture
- Link user in git log and commits
- SEO
- /_sitemap.txt
- /robots.txt
- Display markdown files as HTML
- Bug : fix empty diff between commits and master
- Optimizations
- useless git commands (
git_put_log1) - disk usage calculation
- useless git commands (
- Front page
- Stats
- count users, organisations, repositories
- disk usage
- git cli help
- git clone
- git remote add kmx git@git.kmx.io:user/repo.git
- git push -u kmx branch
- git pull
- install git
- Stats
- Admin
- logo
- Dashboard
- Stats
- disk usage (repos, orgs, users)
- pipeline queries
- sort by column
- search
- pagination (50 per page)
- link to livedashboard
- Hide private repos from public index
Next features for v0.4
Proposed features for the next release are :
- Releases
- infos
- static files
- Pull requests
- Comments in diff
- Issues / tickets ?
- Static site generator
- OAuth2
- Github
- Gitlab ?
-
2022-02-22 12:00:00
Viewed 775 times