ac-lang | My toy programming language
kandi X-RAY | ac-lang Summary
kandi X-RAY | ac-lang Summary
ac-lang is a C# library. ac-lang has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.
A statically-typed garbage-collected native (toy) programming language. Ac is a toy programming language which serves as a platform for me to learn and experiment about compiler design and implementation. This is not ever intended to be a productive language. In fact it's the first language I designed and implemented from scratch. Hence the design of the language isn't necessarily concerned with programmer productivity but simply by ease of implementation of the few available features. The syntax is similar to C (Ac is short for A C-like Language), though also influenced by other modern languages like Rust, Swift... Ac has a handwritten lexer and parser which constructs an Abstract Syntax Tree. Semantic analysis then does name binding, resolving and type checking. A code generation step finally produces human readable C-code which is compiled by gcc. I didn't implement a real runtime, so in order to provide garbage collection I simply embedded Boehm GC. I've got many ideas for features I'd like to add: generics, classes - especially Abstract Data Types and pattern matching. Unfortunately I believe Ac served it's purpose and the code base is a hot mess by now. Implementing new things takes an extraordinarly long time, since every new feature almost seems to mandate a complete rewrite. Obviously I learned a lot, but for my next foray into programming languages I'm probably going to start from scratch and with a better idea of what to expect.
A statically-typed garbage-collected native (toy) programming language. Ac is a toy programming language which serves as a platform for me to learn and experiment about compiler design and implementation. This is not ever intended to be a productive language. In fact it's the first language I designed and implemented from scratch. Hence the design of the language isn't necessarily concerned with programmer productivity but simply by ease of implementation of the few available features. The syntax is similar to C (Ac is short for A C-like Language), though also influenced by other modern languages like Rust, Swift... Ac has a handwritten lexer and parser which constructs an Abstract Syntax Tree. Semantic analysis then does name binding, resolving and type checking. A code generation step finally produces human readable C-code which is compiled by gcc. I didn't implement a real runtime, so in order to provide garbage collection I simply embedded Boehm GC. I've got many ideas for features I'd like to add: generics, classes - especially Abstract Data Types and pattern matching. Unfortunately I believe Ac served it's purpose and the code base is a hot mess by now. Implementing new things takes an extraordinarly long time, since every new feature almost seems to mandate a complete rewrite. Obviously I learned a lot, but for my next foray into programming languages I'm probably going to start from scratch and with a better idea of what to expect.
Support
Quality
Security
License
Reuse
Support
ac-lang has a low active ecosystem.
It has 0 star(s) with 0 fork(s). There are 1 watchers for this library.
It had no major release in the last 6 months.
ac-lang has no issues reported. There are no pull requests.
It has a neutral sentiment in the developer community.
The latest version of ac-lang is current.
Quality
ac-lang has no bugs reported.
Security
ac-lang has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
License
ac-lang is licensed under the MIT License. This license is Permissive.
Permissive licenses have the least restrictions, and you can use them in most projects.
Reuse
ac-lang releases are not available. You will need to build from source code and install.
Installation instructions, examples and code snippets are available.
Top functions reviewed by kandi - BETA
kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of ac-lang
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of ac-lang
ac-lang Key Features
No Key Features are available at this moment for ac-lang.
ac-lang Examples and Code Snippets
No Code Snippets are available at this moment for ac-lang.
Community Discussions
No Community Discussions are available at this moment for ac-lang.Refer to stack overflow page for discussions.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ac-lang
Install dependency 'mono', clone this repository and run the install script. This will compile the garbage collector and Ac and put it into ~/.ac. You can run the compiler with ~/.ac/acc file.ac - or if you add ~/.ac to your path regularly via acc file.ac.
Support
For any new features, suggestions and bugs create an issue on GitHub.
If you have any questions check and ask questions on community page Stack Overflow .
Find more information at:
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page