Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alanvf/objective-n
An object-oriented language targeting the Neko VM
https://github.com/alanvf/objective-n
neko objective-c
Last synced: about 4 hours ago
JSON representation
An object-oriented language targeting the Neko VM
- Host: GitHub
- URL: https://github.com/alanvf/objective-n
- Owner: ALANVF
- Created: 2019-06-14T20:04:47.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-07-03T21:37:25.000Z (over 3 years ago)
- Last Synced: 2023-10-27T01:33:55.420Z (about 1 year ago)
- Topics: neko, objective-c
- Language: Scala
- Size: 168 KB
- Stars: 10
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Objective-N
## What is it?
Objective-N is an object-oriented language targeting the [Neko VM](https://nekovm.org/). You could think of it as a scriptable variant of Objective-C mixed with [Neko](https://nekovm.org/specs/syntax/).
## Running
Steps for running code are coming soon.
## Other things
- Obj-N's standard library is purposely modeled after Obj-C's standard library, with the exception of (temporarily) using the prefix `ON_` rather than `NS`.
- The parser/compiler uses Scala's default parser combinator library, which makes it really easy to add new grammar to the parser.
- Obj-N is more of a toy language than a useful/productive language, so it won't always be getting frequent updates.## Possible questions
#### Q: Why don't you have any examples?
A: It's on my todo-list. For now, you could probably look at the standard library or test files. On that note, tests/mal is actually more of an example than a test, and it's based on the [MAL tutorial](https://github.com/kanaka/mal/).#### Q: Can I use Obj-N classes in Haxe?
A: I haven't tested it, but you probably can.#### Q: Can I use Haxe classes/functions/etc in Obj-N by using the Neko backend?
A: I haven't tested it, but you probably can since it uses modules. For identifiers that include `@`-signs, you can just use `$objget(value, $hash("my@property"))`.#### Q: Why did it take nearly a year for you to update the readme?
A: Never got around to doing it.