CondorLang / Condor

A fast, simple, and intelligent new programming language
BSD 3-Clause "New" or "Revised" License
34 stars 11 forks source link

Questions #2

Open Berkmann18 opened 8 years ago

Berkmann18 commented 8 years ago

Hi, I saw your post on Quora: https://www.quora.com/How-can-I-find-people-to-contribute-to-my-open-source-Github-project/draft I'm the one who said: " Post in Open Source (and eventually on CompSci/Soft Eng) groups/communities to get people to eventually contribute. There's a quite a lot of those on social networks like G+ and FB so don't be afraid to join them. "

I went through the repo and I'm wondering if it's an extension to C# or it's an actual language where we could add stuff from JS for instance ? I'm asking this because I'm quite noobish in VB/C#/C++ but I noticed a lot of JS-like snippets which I think could be improved.

chaseWillden commented 8 years ago

This is a good question. This language was written from scratch, so it's not an extension to any language. It's a stand alone language. I'm still working on the documentation so that it could be used and easily understood. As I've been developing this language, I adopted the similarity of c/c++ and mixed it with many of the syntax abilities as javascript.

That is where you noticed a lot of the JS-like snippets, because I've adopted many principles from javascript.

I'm completely open for feedback. Where could this be improved?

Berkmann18 commented 8 years ago

Oh, that's cool. Things that could be improved are: -import "moduleA", "moduleB" instead of:

import {
   "moduleA",
   "moduleB"
}

Allowing the coder to import a module under an other name by doing stuff like:

import "moduleA" as mdlA, "moduleB" as mdl

As well as partial importation like: import (fx0, obj0) from "moduleXYZ" as opposed to import * from "moduleXYZ" which would import everything the same way as import "moduleXYZ"

There's probably some other stuff that can be improved but I don't see what else for the moment.

Edit: I ran into a problem when running make test (ran by make || make mt)

chaseWillden commented 8 years ago

This is great feedback! I'll work on implementing these. My last commit allows for the added syntax:

import "moduleA", "moduleB"

and

import {
   "moduleA",
   "moduleB"
}
Berkmann18 commented 8 years ago

Cool. Oops, I closed it by mistake.