Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.
/ cuarzo Public archive

Cuarzo is a medium-level programming language, aimed at creating x86 software for Linux

Notifications You must be signed in to change notification settings

alexchwoj/cuarzo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cuarzo is a medium-level programming language, aimed at creating x86 software for Linux

About

Cuarzo originally emerged as a real-time scripting engine, it was slow and screwy. Over time it was molded into what it is today, a compiled language in all its aspects!

Why use it?

  • High level syntax, easy to understand for any beginner
  • A highly manipulable pre-processor, create macros, environment variables and much more
  • Fast as a rocket! The performance of Cuarzo is very high, thanks to the use of assembly
  • Using low-level language features is now much easier!

Example code

# Comment (type 1)

/* Multiple
lines
comment (type 3) */

// Simple comment (type 2)

#define VALOR_ONE 1337
#define VALOR_TWO

main()
{
	#if defined VALOR_TWO
    	print("Valor one: VALOR_ONE")
	#endif

	#undef VALOR_ONE
	#define VALOR_ONE 20

	print("Valor one: VALOR_ONE")

	#if defined THIS_DEFINE_DOES_NOT_EXIST
    	print("Never!")
	#endif

	var distance
	var variable
	print("Hello world")
	print("System info: __CUARZO_SYSTEM_NAME__, __CUARZO_SYSTEM_RELEASE__, __CUARZO_SYSTEM_VERSION__")
	print("Build date: __CUARZO_BUILD_DATE__")
	return 0
}

Alert

The project is still in an early phase, not yet ready for productive use

About

Cuarzo is a medium-level programming language, aimed at creating x86 software for Linux

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages