On Mon, Oct 22, 2018 at 5:36 AM Karen Grigoryan <[email protected]> wrote:
> This is going to be pretty random since I am total noobz in here and have > no clue where to post this question, > but nevertheless I'll try: > > 1. Is there a guidelines file in v8 source code on the structure, like > naming conditions of files and what folders/files are responsible for what? > Nope. We hope that the names are reasonably descriptive, e.g. src/compiler/ is the compiler, src/parsing/ is stuff related to parsing (parser, AST, etc), and so on. > 2. Concept of Lexical Environment, Execution Context, Environment Records, > how can I find their implementation in v8 source code? > Fairly wide-spread, because these conceptual terms translate to a bunch of implementation details. The "Context" and "Scope" classes (and their subclasses) are part of this; parser and interpreter and compiler are all involved, as well as various parts of the object property lookup code. > 3. The `this` keyword mechanics, where can I find information on its > implementation? > Again this is fairly wide-spread. If you grep for "IsThis" or "kThis" you'll find some related bits of code. I realize that these answers may not be very satisfying; sorry about that. I hope they'll help at least a little bit. Maybe someone else has additional pointers. > Thank you. > > > -- > -- > v8-dev mailing list > [email protected] > http://groups.google.com/group/v8-dev > --- > You received this message because you are subscribed to the Google Groups > "v8-dev" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev --- You received this message because you are subscribed to the Google Groups "v8-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
