CKRIPT: A NEW SCRIPTING LANGUAGE FOR WEB APPLICATIONS

Wiktor Kania


Lodz University of Technology, Institute of Applied Computer Science (Poland)
http://orcid.org/0000-0002-0128-2762

Radoslaw Wajman

radoslaw.wajman@p.lodz.pl
Lodz University of Technology, Institute of Applied Computer Science (Poland)
http://orcid.org/0000-0002-6372-5960

Abstract

The project aimed to develop and implement an efficient web server in the C++ programming language. A highly concurrent network server was achieved using system calls such as polls and a limited number of threads. The server has built-in support for a new scripting language called Ckript. It is an original project that exposes most of the server’s functionality and is the primary way of developing back-end web applications. Ckript is an interpreted language with a strong typing system, garbage collection, semi-manual memory management, first-class functions, explicit variable references, support for certain object-oriented patterns and many others. In the article the syntax of the language but also the environment architecture has been explained. Finally, the testing procedure has been described with the results’ presentation and discussion at each step.


Keywords:

HTTP server, scripting language, interpreter, parser, garbage collector, C

Hamblin C. L.: Translation to and from Polish Notation. Comput. J. 5, 1962, 210–213. [http://doi.org/10.1093/COMJNL/5.3.210].
DOI: https://doi.org/10.1093/comjnl/5.3.210   Google Scholar

Nystrom R.: Crafting Interpreters. Genever Benning, 2021.
  Google Scholar

C++ Operator Precedence – cppreference.com, (n.d.). https://en.cppreference.com/w/cpp/language/operator_precedence (18.02.2022).
  Google Scholar

Siege: HTTP/HTTPS stress tester – Linux man page, (n.d.). https://linux.die.net/man/1/siege (18.02.2022).
  Google Scholar

The Shunting Yard Algorithm, (n.d.). http://mathcenter.oxford.emory.edu/site/cs171/shuntingYardAlgorithm/ (18.02.2022)
  Google Scholar

Download


Published
2022-06-30

Cited by

Kania, W., & Wajman, R. (2022). CKRIPT: A NEW SCRIPTING LANGUAGE FOR WEB APPLICATIONS. Informatyka, Automatyka, Pomiary W Gospodarce I Ochronie Środowiska, 12(2), 4–9. https://doi.org/10.35784/iapgos.2901

Authors

Wiktor Kania 

Lodz University of Technology, Institute of Applied Computer Science Poland
http://orcid.org/0000-0002-0128-2762

Authors

Radoslaw Wajman 
radoslaw.wajman@p.lodz.pl
Lodz University of Technology, Institute of Applied Computer Science Poland
http://orcid.org/0000-0002-6372-5960

Statistics

Abstract views: 425
PDF downloads: 262