objeck / objeck-lang

Objeck is a modern object-oriented programming language with functional features tailored for machine learning. It emphasizes expression, simplicity, portability, and scalability. The programming environment consists of a compiler, virtual machine, REPL shell, and command line debugger with IDE plugins.
https://objeck.org
Other
154 stars 11 forks source link

Is it possible to compile multiple source files at once? #461

Closed ghost closed 7 months ago

ghost commented 7 months ago

As I recall I have never seen obc compiles multiple source files at once. It's always a single source file. Is this supported?

objeck commented 7 months ago

Yes, here's an example.

obc -src x.obs,y.obs -dest xy.obe

ghost commented 7 months ago

Yes, here's an example.

obc -src x.obs,y.obs -dest xy.obe

Does something like obc -src *.obs work? Is the order of the source files matter?

objeck commented 7 months ago

No, the full file names must be provided

ghost commented 7 months ago

No, the full file names must be provided

Is the order of the source files matter?

objeck commented 7 months ago

No