Welcome to the Objective-J repository by Aura Ecosystem.
This repository contains Objective-J resources and code. Objective-J is an object-oriented language that compiles to JavaScript, allowing developers to write sophisticated web applications with a syntax similar to Objective-C. It brings powerful OOP capabilities to web development while leveraging the ubiquity of JavaScript.
This repository’s language composition (approximate):
Machine-readable data: languages.json at the repository root: https://github.com/auraecosystem/Objective-j/blob/main/languages.json
Objective-C++-like refers to code and patterns that combine Objective-C–style messaging and object model with C++-style types, idioms, or lower-level constructs adapted for the Objective-J ecosystem. In this repository the label indicates code that:
Practical implications
Example (pseudo-code, illustrative)
```.mm
// Pseudo Objective‑C++‑like source
@implementation FastVector : CPObject
{
CppVector<int> _buf; // conceptual backing buffer
}
- (void)push:(int)value
{
_buf.push_back(value); // low-level operation handled by backing engine
}
- (CPNumber)sum
{
return _buf.reduce((acc, v) => acc + v, 0);
}
@end
docs/ and add examples under examples/ showing source + compiled/shim output.To get started with this project, clone the repository and explore the available resources:
git clone https://github.com/auraecosystem/Objective-j.git
cd Objective-j
npm install
We included a small runnable “Hello World” example that compiles a constrained Objective-J-like source file to JavaScript using the included toy compiler.
Build and run the example:
npm run build
# then open examples/hello/index.html in a browser
// Example Objective-J code
@implementation MyClass : CPObject
{
CPString name;
}
- (void)setName:(CPString)aName
{
name = aName;
}
- (CPString)name
{
return name;
}
@end
Objective-j/
├── assets/ # Images and static assets
├── scripts/ # Tooling (toy compiler)
├── src/ # Source code
├── examples/ # Example projects (includes Hello example)
├── docs/ # Documentation
├── tools/ # Utility scripts
├── badges/ # Generated badges
├── .github/ # GitHub workflows
└── README.md # This file
npm run build
You can serve the repository with a simple static server, for example using Python:
python -m http.server 8000
# then open https://localhost:8000/examples/hello/index.html
See CONTRIBUTING.md for guidelines on contributing.
Please follow the guidelines in CODE_OF_CONDUCT.md.
For license information, please refer to the LICENSE file in the repository if present.
If you have any questions or need help:
Happy coding with Objective-J! 🚀