Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


brightening-eyes

Member Since 20 Oct 2013
Offline Last Active Sep 24 2014 04:32 AM

Posts I've Made

In Topic: C++ Runtime Error With Odd Workaround

17 August 2014 - 02:37 AM

hi,

i must say first of all build a debug version of your application, then debug it

if an error occurs, you can fined it easyly


In Topic: creating a compiler for my engine using LLVM

01 August 2014 - 06:27 AM

thanks in advance, i'll look at it


In Topic: creating a compiler for my engine using LLVM

01 August 2014 - 03:18 AM

i know that LLVM isnt a complete compiler, but it is a set of classes and functions to implement a compiler, you have to create your  language, and then create instructions on LLVM

then link your modules together and make an executable

but, if you know something that i can use, tell me


In Topic: creating a compiler for my engine using LLVM

31 July 2014 - 07:25 PM

of course yes, LLVM is a compiler, and the modules must be linked together to create an executable

and about that compiler, i've saw it before

it turn's AngelScript's scripts and turn them into C++ code, and i dont need that

i want to create a compiler that turn's a set of scripts and then link it together and create an executable


In Topic: creating a compiler for my engine using LLVM

31 July 2014 - 07:53 AM

Washu, on 31 Jul 2014 - 1:32 PM, said:

Do you know how to use LLVM? Do you understand lexing and parsing? AST traversal, etc.?

No, then that's probably where you should start. LLVM has a short series of

tutorials on using it, and there's always the dragon book.

Of course, the first stage should be
Google. Or basic research. Simply tossing a bunch of words together and going "HOW I DO?" without a bit of prior research is a bad idea.

 

yes, if i want to create a new scripting language, i use spirit and use LLVM kaleidoscope to get started with it

and then i'll read other tutorials

 

swiftcoder, on 31 Jul 2014 - 5:26 PM, said:

brightening-eyes, on 31 Jul 2014 - 12:18 PM, said:
but, i dont know how can i parse AngelScript's scripts and provide instructions for compilation with llvm

AngelScript already has a compiler. What exactly do you hope to accomplish by writing a new one?

i want an executable compiler, something that get's the script and compile it into executable

maybe i use spirit to create a new scripting language for myself, but if you know about AngelScript, i'm here to lisson


PARTNERS