|
![]() |
Overclock.net - Overclocking.net > Software, Programming and Coding > Coding and Programming > Application Programming | |
Any language enthusiasts here?
|
||
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) |
|
Overclocker in Training
|
Hello,
Just curious if there's any language enthusiasts here. People interested in writing their own language grammar, parser, symbol linker (resolver), compiler, and so on. One of the projects I'm working on now is focused towards high-level code generation, as a result one of my later goals is to make a parser builder based upon a standard grammar (similar to LEX and YACC structure). Is anyone here familiar with Finite State Automation and the steps necessary to structure, and break down Regular Expressions used in the lexer and complex (entity dependent) expressions used in the language parser? In that same strand, has anyone ever handled FSA for complex yield iterators? The current project I'm working on, the code generator, targets the Common Intermediate Language (formerly MSIL, or Microsoft Intermediate Language) as a part of the Common Language Infrastructure (CLI). In doing so, since the code generator framework handles the concepts of complex yield iterators, closures, and so on, I'm going to develop a hierarchical system to manage transformation of higher level concepts into simpler more primitive concepts. An example is the OO structure of a full closure. If you have a lambda defined in a method, and reference a variable within the lambda from the containing method, it would require a transformer to understand this relationship, and properly lift the lambda out of its place into a new, automatically generated, class as a field in that class. All references to the original local from the method would be replaced with a reference to the lifted class instance. Anyone here have similar interests, or do I have unorthodox interests? |
|
|
|
|
|
#2 (permalink) | |||||||||||||
|
Programmer
|
I have a project called nXn, but it's even-before-planning stage.
But first I have to finish my more important projects and then think about a reason to start working on nXn. It has to have a purpose, otherwise you can use any other language. PS. I have no Idea of lexics or other thing to make a language, so I think I'll use simple C code for parser. (string concat, search copy cut ...)
__________________
Debian worshipper, PHP phanatic uxterm is man's best friend. My: Clubs, Photos , Photos 2
Last edited by metala : 09-05-08 at 07:41 PM. |
|||||||||||||
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|