Cosmos: Compilating a file in runing os

Created on 28 Dec 2020  路  1Comment  路  Source: CosmosOS/Cosmos

Is it possible to eg. create a file using CreateFile, put some code in it and then compile it in running os?

Question

>All comments

You're asking for too much. Cosmos isn't a full-featured operating system where you have one method to _compilate_ code. To compile code on your os you would need to either write a compiler for the language you want in the kernel directly, or create your own language that would run on your os and write the compiler in it.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

manamster picture manamster  路  4Comments

365Tito picture 365Tito  路  11Comments

erikpro007 picture erikpro007  路  4Comments

TFTWPhoenix picture TFTWPhoenix  路  7Comments

ArtyIF picture ArtyIF  路  9Comments