Re: LLVM discussion

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

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, I'd not use C++.  My understanding is that he wants to use C++ for the engine, but maybe I'm misunderstanding something.  Still, nothing says you can't develop the compiler in another language or, as is actually very

Re: LLVM discussion

2014-10-17 Thread AudioGames . net Forum — Developers room : Ethin via Audiogames-reflector
Re: LLVM discussion Hmmm, visualstudio. I'm not getting you now. This doesn't 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, howe

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 i've 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

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-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++.  I'm 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 can&

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 and

Re: LLVM discussion

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

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! We've 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

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 add's executable header, resolve simbles, etci'm not saying to do my project, the problem is you are thinking rong, you say write a script

Re: LLVM discussion

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

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 I'm going to lay this out.1.  Get an interpreter tat someone else has written.  Lua, Angelscript, whatever.  It doesn't matter.  otice that I don't care if it's a JIT or not-the important part is that y

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 I'm going to lay this out.1.  Get an interpreter tat someone else has written.  Lua, Angelscript, whatever.  It doesn't matter.  otice that I don't care if it's a JIT or not-the important part is that y

Re: LLVM discussion

2014-10-15 Thread AudioGames . net Forum — Developers room : visualstudio via Audiogames-reflector
Re: LLVM discussion i'm saying this, but dont know how can i create executables like thisi'm 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 executa

Re: LLVM discussion

2014-10-15 Thread AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector
Re: LLVM discussion It's probably just the template exe for redistribution.  Kinda guessing in the dark, but given the name and that you're reorting that it's an exe file internally, this doesn't seem too far-fetched.  Copy the exe to whatever is distributed or ap

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 you'll see that it start's with mz witch is the start of exe files! URL: http://forum.audiogames.net/viewtopic.php?pid=1920

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 it didnt translate it correctlyi know what you are mentioning in your posts, but i've asked about exec.bin in bgt's main directorydont need to translate everything for me URL: http://forum.audiogames.net/viewtopic.php?pid=1920

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 : Ethin via Audiogames-reflector
Re: LLVM discussion OK, then, visualstudio, I'll speak in your native language, then, since you don't seam to understand what we're trying to tell you.آیا یک کامپایلر را ندارد. در عوض، یک مترجم با استفاده از جاوا با ابزار دیگر برای تشخیص زبان (ANTLR.) هنگامی که شما کشف کردن

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, i'll release it as a C++ librarybut what is the exec.bin in bgt's main directory? URL: http://forum.audiogames.net/viewtop

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?There's two problems here.The first is the language barrier: I can't tell if you don't know what's going on because I'm not sure if I'm understanding your posts or if you're understanding mine.  I

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?i've 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

Re: LLVM discussion

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

Re: LLVM discussion

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

Re: LLVM discussion

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

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. I'm going to give you an answer that you most cert

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?i've started a discussion and you are not required to reply!, isnt it? URL: http://forum.audiogames.net/viewtopic.php?pid=191306#p191306 ___ Audiogames-refl

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. I'm not repeating myself again.  You use someone else's, you don't make one.  Please see the proceeding posts wherein I detailed your options completely, including advantages and disadvantages.  Go find a language

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 i've mentioned URL: http://forum.audiogames.net/viewtopic.php?pid=190904#p190904 ___ Audio

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.  I've said what should be said, and I've done it several different ways.is there a language barrier here?  The things you're saying you want to use are so far from the project that you want to do that I honestly fai

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?i'm learning LLVM!if i want to use lua, i can use LLVM_lua for thisbut i havent found anything for AngelScripti know assembly and that's not have so much pro

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 don't care if it's machine code or whatever, it just needs to run on the target machine.  This is a very significant difference.  The actual ter

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 isn't actually needed yet. Wait until your very good with assembly language, machine language (I know, but its required to assemble a game into direct ma

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-29 Thread AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector
Re: LLVM discussion I'm not saying use Python.  I'm 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 com

Re: LLVM discussion

2014-09-29 Thread AudioGames . net Forum — Developers room : visualstudio via Audiogames-reflector
Re: LLVM discussion well,about python, i'm 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 i'll implement itmaybe, i'll use luajit and LLVM URL: http://forum.audiogames.net/viewtopic

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 don't see why you wouldn't just use that.In terms of 3D audio, I'm pretty sure I'm the only person on the block for anything under $10k, and it's not ready.  It's close enough to ready that you can get it

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 of

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 doesn't use those or a similar tool these days; there are advantages to recursive descent parsers, but they're a lot more work to write.  Flex and bison probably aren&

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 A home-brew compiler isn't the answer: if you're looking for community contributions, then a compiler is too complex.  Not to mention the fact that it's going to be ugly and hard to understand, at least unless it's something you've done