Comments (3)
Hi Spoiledpay,
The -tar
option allows programmers to specify a target format such as a VM executable using the -tar exe
option. Another output format is a library which, requires the -tar lib
option. In general, the -tar
option is not needed to compile programs.
Here's an example of compiling sample code:
obc -src http_regex_9.obs -lib net,regex
compiles the source and includes the two required libraries for regex and HTTPS support- The output from the above is
http_regex_9.obe
a VM executable - The binary can be executed using
obr http_regex_9
Check out the getting started guide for more, or let me know if you have additional questions.
Cheers,
Randy
from objeck-lang.
Hi,
So we can say that it resembles the Java language. It does not generate a native windows application. Like hello.exe. Where can be run from the command line just as c:\hello.exe
Can you confirm what I said or she has a way to generate pure and native executables. And not being interpreted as java -tar hello.jar
thanks
Fernando Dantas
from objeck-lang.
Hi Fernando,
You are correct; the compiler generates bytecode like Java, not platform-specific executables. A *.obe file is similar to a *.jar file containing all code needed to run a program using a VM.
Thanks,
Randy
from objeck-lang.
Related Issues (20)
- Implementing other languages for the Objeck VM?
- Improve the Each Statement HOT 2
- Cross compile Objeck from Linux to Windows? HOT 1
- JsonParser very poor performance HOT 2
- Serialize/Deserialize JSON HOT 2
- Serialize/Deserialize XML HOT 5
- `obc` and `obi`: add a switch to force all methods to be `native` HOT 14
- `obc` and `obi`: add a switch to ignore `native` in code HOT 1
- `obd`: `-exe` vs `-bin` HOT 1
- `obi`: add `-f` switch HOT 3
- `obi`: add `-q` switch HOT 2
- `obi`: add `-l` switch HOT 2
- Enhancement: add classes to handle INI files
- Enhancement: add sample code to `MultiMap`
- Ordered or Unordered? HOT 1
- What is the closest thing to `std::map`? HOT 1
- About Exceptions
- About Serialize/Deserialize of JSON and XML
- `obi`: add `-h` switch HOT 3
- `obi`: add `-e` switch HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from objeck-lang.