* * *

Author Topic: t-Xpres - library for Compilers and Interpreters  (Read 1632 times)

Edson

  • Hero Member
  • *****
  • Posts: 806
t-Xpres - library for Compilers and Interpreters
« on: January 07, 2017, 03:37:08 am »
https://github.com/t-edson/t-Xpres

t-Xpres es una pequeña librería y framework para desarrollar compiladores e intérpretes con Lazarus. Incluye un lexer, parser, arbol de sintaxis, y analizador de expresiones, que pueden ser usadas independientemente o en conjunto para construir compiladores e intérpretes. Aún está en fase de desarrollo, pero  puede ser usado para implementaciones sencillas.

t-xPres is a small library and framework to create Compilers and Interpreters using Lazarus. Includes a lexer, a parser, a Syntax Tree, and Expression Analizer, that can be used independently or together to build compilers and interpreters. It's still in development, but can be used in simple implementations. Documentation, only in spanish  by now :-[
Lazarus 1.6 - FPC 3.0.0 - x86_64-win64 on  Windows 7

lainz

  • Hero Member
  • *****
  • Posts: 2087
Re: t-Xpres - library for Compilers and Interpreters
« Reply #1 on: January 07, 2017, 02:00:26 pm »
Tengo que probarlo, se ve interesante!


edwinyzh

  • New member
  • *
  • Posts: 25
Re: t-Xpres - library for Compilers and Interpreters
« Reply #2 on: January 11, 2017, 04:21:58 pm »
Edson, sounds very cool! I wish at least the comments are in English...

Edson

  • Hero Member
  • *****
  • Posts: 806
Re: t-Xpres - library for Compilers and Interpreters
« Reply #3 on: January 11, 2017, 06:47:52 pm »
Edson, sounds very cool! I wish at least the comments are in English...
Maybe, someone can translate de documentation. My English is no so good :(

At least, I have tried to use names for Types, variables, classes; in English.
Lazarus 1.6 - FPC 3.0.0 - x86_64-win64 on  Windows 7

turrican

  • Jr. Member
  • **
  • Posts: 64
  • Pascal is my life.
    • Homepage
Re: t-Xpres - library for Compilers and Interpreters
« Reply #4 on: January 12, 2017, 09:21:52 pm »
Gracias crack, Le echaré un vistazo. Tu crees que se podría usar como lenguaje interpretado para integrarlo en un videojuego (tipo LUA). ?

Edson

  • Hero Member
  • *****
  • Posts: 806
Re: t-Xpres - library for Compilers and Interpreters
« Reply #5 on: January 12, 2017, 09:54:47 pm »
Tu crees que se podría usar como lenguaje interpretado para integrarlo en un videojuego (tipo LUA). ?

Claro, si no es muy complicada la sintaxis.
Yo he usado t-Xpres para implementar, con éxito, el intérprete del programa Tito's Terminal (https://github.com/t-edson/Tito-s-Terminal)
Puedes usar el ejemplo "/Demo5 - Interprete basico", como una base para crear tu intérprete.
Cualquier consulta, puedes hacerla por este medio.


Saludos.
« Last Edit: January 12, 2017, 10:01:32 pm by Edson »
Lazarus 1.6 - FPC 3.0.0 - x86_64-win64 on  Windows 7

turrican

  • Jr. Member
  • **
  • Posts: 64
  • Pascal is my life.
    • Homepage
Re: t-Xpres - library for Compilers and Interpreters
« Reply #6 on: January 12, 2017, 10:21:13 pm »
WOW! Le echaré un vistazo. :)

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus