Enum ProgramLanguage
- Namespace
- AiDotNet.ProgramSynthesis.Enums
- Assembly
- AiDotNet.dll
Defines the programming languages that can be synthesized or processed.
public enum ProgramLanguage
Fields
C = 6C programming language.
C is a low-level language that provides fine-grained control over computer resources. It's used for operating systems, embedded systems, and performance-critical applications.
For Beginners: C is a foundational language that's close to how computers work.
Many other languages are based on C. It's used for operating systems and programs that need direct control over computer hardware.
CPlusPlus = 5C++ programming language.
C++ is a powerful, high-performance language used for system software, game engines, and applications where speed is critical. It provides low-level control while supporting high-level abstractions.
For Beginners: C++ is known for speed and control over computer resources.
It's used when performance is critical, like in game engines, operating systems, and high-frequency trading systems. It's more complex but very powerful.
CSharp = 1C# programming language.
C# is a modern, object-oriented language developed by Microsoft. It's used for Windows applications, game development (Unity), web services, and enterprise software.
For Beginners: C# is a powerful language used for many types of applications.
It's particularly popular for Windows programs, games (especially with Unity), and business applications. It has strong typing which helps catch errors early.
Generic = 10Generic or language-agnostic representation.
This option is used when working with abstract program representations that aren't tied to a specific programming language, or when the language is not yet determined.
For Beginners: Generic means not specific to any one language.
Sometimes you want to work with the logic of a program without worrying about which language it will eventually be written in. This option represents that.
Go = 7Go (Golang) programming language.
Go is a modern language designed at Google for building scalable network services and concurrent applications. It emphasizes simplicity and has built-in concurrency support.
For Beginners: Go is designed for building fast, reliable network services.
It's simpler than some languages but still powerful, especially good for programs that need to do many things at once (like web servers handling many users).
Java = 2Java programming language.
Java is a widely-used, object-oriented language known for its "write once, run anywhere" philosophy. It's popular for enterprise applications, Android development, and large-scale systems.
For Beginners: Java is one of the most popular languages in the world.
It's used for Android apps, large business systems, and web applications. Code written in Java can run on different types of computers without modification.
JavaScript = 3JavaScript programming language.
JavaScript is the primary language for web browser programming and has expanded to server-side development (Node.js). It's essential for interactive web applications and is one of the most widely used languages.
For Beginners: JavaScript makes websites interactive and dynamic.
It runs in web browsers and powers most of the interactive features you see on websites. It's also used for server-side programming and mobile app development.
Python = 0Python programming language.
Python is a high-level, interpreted language known for its readability and extensive ecosystem. It's widely used in data science, machine learning, web development, and automation.
For Beginners: Python is known for being easy to read and beginner-friendly.
It's popular for AI, data analysis, and general programming. Code looks clean and is relatively easy to understand, making it a great choice for many applications.
Rust = 8Rust programming language.
Rust is a systems programming language focused on safety, concurrency, and performance. It prevents many common bugs through its unique ownership system.
For Beginners: Rust helps you write safe and fast programs.
It has special rules that prevent common programming errors (like memory bugs) while still being very fast. Popular for system programming and security-critical applications.
SQL = 9SQL (Structured Query Language) for database operations.
SQL is a domain-specific language for managing and querying relational databases. It's essential for data manipulation and retrieval in database systems.
For Beginners: SQL is for working with databases.
It's not a general programming language but a specialized language for storing, retrieving, and managing data in databases. Used everywhere data is stored.
TypeScript = 4TypeScript programming language.
TypeScript is a superset of JavaScript that adds static typing. It helps catch errors during development and is increasingly popular for large JavaScript applications.
For Beginners: TypeScript is JavaScript with extra type checking.
It helps prevent bugs by checking your code before it runs. Think of it as JavaScript with helpful guardrails that catch mistakes early.
Remarks
This enumeration specifies the target programming languages for code synthesis, translation, and analysis tasks. Each language has its own syntax, semantics, and typical use cases.
For Beginners: This lists the different programming languages the system can work with.
Just like human languages (English, Spanish, French), there are many programming languages (Python, C#, Java). Each has its own rules and is better suited for different tasks. This enum helps the system know which language you want to work with.