Re: LLVM discussion

2014-10-17 Thread AudioGames . net Forum — Developers room : Ethin via Audiogames-reflector
Re: LLVM discussion Hmmm, visualstudio. Im not getting you now. This doesnt make any sense. It is very difficult and very uncommon for someone to develop a compiler in another language other than C/C++. There is a way to avoid memory leaks and other memory-related issues, however! Check

Re: LLVM discussion

2014-10-17 Thread AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector
Re: LLVM discussion Actually, if I developed a compiler, Id not use C++. My understanding is that he wants to use C++ for the engine, but maybe Im misunderstanding something. Still, nothing says you cant develop the compiler in another language or, as is actually very common

Re: LLVM discussion

2014-10-17 Thread AudioGames . net Forum — Developers room : visualstudio via Audiogames-reflector
Re: LLVM discussion ok!, thanks ethin, ill release it as a C++ librarymy goal is to avoid memory leeks and youve helped me a loti have dlib c++ library and ive forgot about that!thanks URL: http://forum.audiogames.net/viewtopic.php?pid=192353#p192353

Re: LLVM discussion

2014-10-16 Thread AudioGames . net Forum — Developers room : Manu via Audiogames-reflector
Re: LLVM discussion Yes, I read that, he wants to avoid C++, but I continue to think that he thought to C++ without knowing that. Good luck! URL: http://forum.audiogames.net/viewtopic.php?pid=192237#p192237 ___ Audiogames-reflector mailing

Re: LLVM discussion

2014-10-16 Thread AudioGames . net Forum — Developers room : visualstudio via Audiogames-reflector
Re: LLVM discussion i want to avoid use of C++ because of pointers and memory leeksbecause of that ive started this topic to develop an executable compiler for my enginefirstly, executables are not something that you are thinkingin the start, they have a headervariables and simbles most

Re: LLVM discussion

2014-10-15 Thread AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector
Re: LLVM discussion Its probably just the template exe for redistribution. Kinda guessing in the dark, but given the name and that youre reorting that its an exe file internally, this doesnt seem too far-fetched. Copy the exe to whatever is distributed or append the bytecode or whatever

Re: LLVM discussion

2014-10-15 Thread AudioGames . net Forum — Developers room : visualstudio via Audiogames-reflector
Re: LLVM discussion im saying this, but dont know how can i create executables like thisim thinking about main entrypoint, and functions and classes that i want to add to this applicationJIT compiler is just compiles the script code into bytecode, but it doesnt add executable header, main

Re: LLVM discussion

2014-10-15 Thread AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector
Re: LLVM discussion All right look. This is the absolute last time Im going to lay this out.1. Get an interpreter tat someone else has written. Lua, Angelscript, whatever. It doesnt matter. otice that I dont care if its a JIT or not-the important part is that you didnt write it.2. Write

Re: LLVM discussion

2014-10-15 Thread AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector
Re: LLVM discussion All right look. This is the absolute last time Im going to lay this out.1. Get an interpreter tat someone else has written. Lua, Angelscript, whatever. It doesnt matter. otice that I dont care if its a JIT or not-the important part is that you didnt write it.2. Write

Re: LLVM discussion

2014-10-15 Thread AudioGames . net Forum — Developers room : stewie via Audiogames-reflector
Re: LLVM discussion Im pretty sure you can find open source solutions that have already done this entire process as well. I honestly dont really think its a language issue, since he seems to understand terminology. repeatedly stating that as the issue and forcing compliance really isnt

Re: LLVM discussion

2014-10-15 Thread AudioGames . net Forum — Developers room : visualstudio via Audiogames-reflector
Re: LLVM discussion i have to mention i can run the script!, but i want to create executables from it!what framework can i use that adds executable header, resolve simbles, etcim not saying to do my project, the problem is you are thinking rong, you say write a script witch your

Re: LLVM discussion

2014-10-15 Thread AudioGames . net Forum — Developers room : Ethin via Audiogames-reflector
Re: LLVM discussion Damn it, visualstudio! This is getting wayy out of hand! Weve told you again and again that you cannot create executables from simple scripts yet! Your not experienced enough to do that! Unless, of course, you are able to turn

Re: LLVM discussion

2014-10-15 Thread AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector
Re: LLVM discussion Well, actually, theres two questions going on here. I have covered the second one, but Ill repeat it one more time.Writing a compiler? You dont have the experience for doing that quickly. None of us really do.But two points:First, there is no functional advantage

Re: LLVM discussion

2014-10-15 Thread AudioGames . net Forum — Developers room : Manu via Audiogames-reflector
Re: LLVM discussion I think he wants to make some wrappers for C++, for instance a “sound” class to play sounds, like that found in BGT. Also other functions and classes, easier to use. He wants to have an editor, or something like this where users to write code using his classes

Re: LLVM discussion

2014-10-15 Thread AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector
Re: LLVM discussion No one has said anything about C++. In fact, this entire thread has been about how to *not* be C++. Im not sure where this particular conceptual leap came from. I would not write an audiogame in C++ under most circumstances: there is nothing there that I cant get

Re: LLVM discussion

2014-10-14 Thread AudioGames . net Forum — Developers room : visualstudio via Audiogames-reflector
Re: LLVM discussion firstly, english is not my first languagemy first language is persionsecondly, witch framework do you recommend for compiler?or maybe, ill release it as a C++ librarybut what is the exec.bin in bgts main directory? URL: http://forum.audiogames.net/viewtopic.php?pid

Re: LLVM discussion

2014-10-14 Thread AudioGames . net Forum — Developers room : Ethin via Audiogames-reflector
Re: LLVM discussion OK, then, visualstudio, Ill speak in your native language, then, since you dont seam to understand what were trying to tell you.آیا یک کامپایلر را ندارد. در عوض، یک مترجم با استفاده از جاوا با ابزار دیگر برای تشخیص زبان (ANTLR.) هنگامی که شما کشف کردن مکانیک از ANTLR

Re: LLVM discussion

2014-10-14 Thread AudioGames . net Forum — Developers room : stewie via Audiogames-reflector
Re: LLVM discussion A Google translation might not be entirely accurate. URL: http://forum.audiogames.net/viewtopic.php?pid=192043#p192043 ___ Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin

Re: LLVM discussion

2014-10-14 Thread AudioGames . net Forum — Developers room : visualstudio via Audiogames-reflector
Re: LLVM discussion ok, but it didnt translate it correctlyi know what you are mentioning in your posts, but ive asked about exec.bin in bgts main directorydont need to translate everything for me URL: http://forum.audiogames.net/viewtopic.php?pid=192044#p192044

Re: LLVM discussion

2014-10-14 Thread AudioGames . net Forum — Developers room : Ethin via Audiogames-reflector
Re: LLVM discussion Exec.bin is an angelscript necessity. BGT requires it to operate properly. URL: http://forum.audiogames.net/viewtopic.php?pid=192057#p192057 ___ Audiogames-reflector mailing list Audiogames-reflector@sabahattin

Re: LLVM discussion

2014-10-14 Thread AudioGames . net Forum — Developers room : visualstudio via Audiogames-reflector
Re: LLVM discussion ok, but some applications that uses AngelScript isnt using this file!open it with a text editor, and youll see that it starts with mz witch is the start of exe files! URL: http://forum.audiogames.net/viewtopic.php?pid=192071#p192071

Re: LLVM discussion

2014-10-11 Thread AudioGames . net Forum — Developers room : stewie via Audiogames-reflector
Re: LLVM discussion I personally wouldnt say that. If you have a sincere need to use llvm and you have to knowledge to do so, then go ahead use it. Were not forcing you to use a particular piece of software here, were just giving recommendations despite any appearances given. Llvm has its

Re: LLVM discussion

2014-10-11 Thread AudioGames . net Forum — Developers room : visualstudio via Audiogames-reflector
Re: LLVM discussion thanks, i want recommendation!but the question is, how to create an interpretor?ive asked somewhere, they said to you need to compile your functions and classes with a C++ compiler to binary, and then link it with script bytecode!, but how to do that!, what about main

Re: LLVM discussion

2014-10-11 Thread AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector
Re: LLVM discussion Might I suggest making a game first?Theres two problems here.The first is the language barrier: I cant tell if you dont know whats going on because Im not sure if Im understanding your posts or if youre understanding mine. If English isnt your first language, Id

Re: LLVM discussion

2014-10-10 Thread AudioGames . net Forum — Developers room : Ethin via Audiogames-reflector
Re: LLVM discussion Visualstudio, are you not understanding us, or something? Because right now your making this discussion a very difficult one. Do we have to speak in your native to understand? r do we need to close this topic. Im going to give you an answer that you most certainly

Re: LLVM discussion

2014-10-10 Thread AudioGames . net Forum — Developers room : visualstudio via Audiogames-reflector
Re: LLVM discussion ok!, i dont use it!, ill make an interproter for that!, understanded URL: http://forum.audiogames.net/viewtopic.php?pid=191724#p191724 ___ Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com

Re: LLVM discussion

2014-10-10 Thread AudioGames . net Forum — Developers room : visualstudio via Audiogames-reflector
Re: LLVM discussion ok!, i dont use it!, ill make an interpreter for that!, understanded URL: http://forum.audiogames.net/viewtopic.php?pid=191725#p191725 ___ Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com

Re: LLVM discussion

2014-10-05 Thread AudioGames . net Forum — Developers room : visualstudio via Audiogames-reflector
Re: LLVM discussion i havent say give code to me!why you are thinking like that?ive started a discussion and you are not required to reply!, isnt it? URL: http://forum.audiogames.net/viewtopic.php?pid=191306#p191306 ___ Audiogames-reflector

Re: LLVM discussion

2014-10-01 Thread AudioGames . net Forum — Developers room : visualstudio via Audiogames-reflector
Re: LLVM discussion instead of using nasm, we can use inline assembly in C++but, how to create an interpretor for that?im learning LLVM!if i want to use lua, i can use LLVM_lua for thisbut i havent found anything for AngelScripti know assembly and thats not have so much problems, but when

Re: LLVM discussion

2014-10-01 Thread AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector
Re: LLVM discussion You are in a different universe. Ive said what should be said, and Ive done it several different ways.is there a language barrier here? The things youre saying you want to use are so far from the project that you want to do that I honestly fail to understand. Inline

Re: LLVM discussion

2014-10-01 Thread AudioGames . net Forum — Developers room : visualstudio via Audiogames-reflector
Re: LLVM discussion so, if LLVM isnt good, what do you recommend?how to make an interpreter?this thread is started, for just 1 reason that ive mentioned URL: http://forum.audiogames.net/viewtopic.php?pid=190904#p190904 ___ Audiogames

Re: LLVM discussion

2014-10-01 Thread AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector
Re: LLVM discussion I have already told you. Over and over. Im not repeating myself again. You use someone elses, you dont make one. Please see the proceeding posts wherein I detailed your options completely, including advantages and disadvantages. Go find a language you like. Read

Re: LLVM discussion

2014-09-30 Thread AudioGames . net Forum — Developers room : visualstudio via Audiogames-reflector
Re: LLVM discussion ok, if i want to embed a scripting language, how to create an executable compiler for that?working with LLVM requires you to have knowledge with processors and some other things that no need to talk aboutbut for making a compiler, what do you recommend? URL: http

Re: LLVM discussion

2014-09-30 Thread AudioGames . net Forum — Developers room : Ethin via Audiogames-reflector
Re: LLVM discussion @visualstudio, I do not recommend you make a compiler at all. For now, just have an interpreter. A compiler isnt actually needed yet. Wait until your very good with assembly language, machine language (I know, but its required to assemble a game into direct machine code

Re: LLVM discussion

2014-09-30 Thread AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector
Re: LLVM discussion I think there is an issue of nomenclature here. When you say compiler, I think you mean packaging system: you dont care if its machine code or whatever, it just needs to run on the target machine. This is a very significant difference. The actual term compiler heavily

Re: LLVM discussion

2014-09-29 Thread AudioGames . net Forum — Developers room : visualstudio via Audiogames-reflector
Re: LLVM discussion well,@camlorn, +1 for your poststhis is a discussion and i want to know what other people are saying@ethin, first of all, for developping a compiler, you must know about processorsyou must know the differences between x86 and x64then, you have to know about what type

Re: LLVM discussion

2014-09-29 Thread AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector
Re: LLVM discussion That this sounds like BGT, and I dont see why you wouldnt just use that.In terms of 3D audio, Im pretty sure Im the only person on the block for anything under $10k, and its not ready. Its close enough to ready that you can get it running, but its not ready.As

Re: LLVM discussion

2014-09-29 Thread AudioGames . net Forum — Developers room : visualstudio via Audiogames-reflector
Re: LLVM discussion well,about python, im not using itand i cant say so much about itC++ is two hard, and i want to make the life easyerbut i lisson to all of the ideas, and then ill implement itmaybe, ill use luajit and LLVM URL: http://forum.audiogames.net/viewtopic.php?pid=190759

Re: LLVM discussion

2014-09-29 Thread AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector
Re: LLVM discussion Im not saying use Python. Im not sure why so many blind people are against Python, but there are plenty of other languages that are just as good as it. My list of packages applies to Python, but was merely an illustrative example: similar lists can be compiled

Re: LLVM discussion

2014-09-28 Thread AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector
Re: LLVM discussion A home-brew compiler isnt the answer: if youre looking for community contributions, then a compiler is too complex. Not to mention the fact that its going to be ugly and hard to understand, at least unless its something youve done before. Most worthwhile contributions

Re: LLVM discussion

2014-09-28 Thread AudioGames . net Forum — Developers room : Ethin via Audiogames-reflector
Re: LLVM discussion @visualstudio, one thing that you should use is Flex and Bison. Since a compiler requires you learn assembly language, I do not recommend it for a beginner. Try flex and bison. See how that goes.@camlorn, I love your analogy of the situation. +1 for that.@visualstudio

Re: LLVM discussion

2014-09-28 Thread AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector
Re: LLVM discussion I was considering flex and bison when making my compiler comments. I do not know anyone who doesnt use those or a similar tool these days; there are advantages to recursive descent parsers, but theyre a lot more work to write. Flex and bison probably arent even the best