Comments (2)
It's not that simple. My Oberon+ IDE uses Mono as a kind of implementation detail; there is no use of any .NET assembly besides the mandatory mscorlib.dll, and the generated assemblies run on Mono, but I didn't maky any provisions that they can be used by non-Oberon assemblies, and vice-versa.
That said, if you have an implementation in C#, you need a corresponding .def file, and the generated assembly must follow some rules to be compatible with the Oberon+ model. It's best to have a look at the .NET implementation of the Oakwood classes. See e.g. at https://github.com/rochus-keller/Oberon/blob/master/runtime/Files.cs. There is a precompiled assebly here https://github.com/rochus-keller/Oberon/blob/master/runtime/Dll/Files.dll which is simply copied into the build directory by the IDE (if Oakwood support is enabled in the project options). The Oberon+ code accesses the features of the File assembly by this definition module: https://github.com/rochus-keller/Oberon/blob/master/oakwood/Files.Def.
Hope this helps.
from oberon.
OK, I have got this to work
from oberon.
Related Issues (20)
- VSCode Integration HOT 4
- Sorry, this was a mistake.
- Congrats for Top 10 in Hacker News! HOT 2
- Basic Types and some questions HOT 7
- Variable Initialization HOT 3
- M1 version reports “OberonIDE” is damaged and can’t be opened. You should move it to the Trash. HOT 2
- Cannot create build directory '/private/var/folders/...' HOT 5
- System.DllNotFoundException: SDL2.dll on macOS M2 MacBook Air HOT 2
- ObxIDE default english keyboard layout HOT 6
- License does not Allow Closed Source Development HOT 11
- Oberon+ Concurrence and others HOT 17
- Niklaus Wirth (1934-2024) HOT 1
- Problems with type extension HOT 7
- Problems with super calls across Module boundaries HOT 5
- Problems with Set Command in IDE HOT 1
- Problems with projects in INT16 mode HOT 4
- Illegal IL Code generation HOT 2
- Problem with code generation for nested procedures HOT 4
- write a text file HOT 12
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 oberon.