GithubHelp home page GithubHelp logo

cspyridakis / fl Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 0.0 436 KB

Fictional Language to C Trans-compiler

License: MIT License

Makefile 4.19% C 36.17% Lex 22.34% Yacc 31.43% Shell 5.87%
flex bison c trans-compiler theory-of-computation

fl's Introduction

./Github_Readme.png

Welcome to my GitHub page!

I am Christos, a Systems Engineer from Greece, currently living in Heraklion.


These are some of the technologies I have used in the past:

Programming:

C Logo Cpp Logo Python Logo Java Logo Bash Logo Matlab Logo Latex Logo

Linux:

Makefile Logo GDB Logo TMUX Logo CMake Logo Vim Logo Valgrind Git Logo

Embedded:

ARM Logo STM32 AVR Logo ESP8266 Logo Platformio Logo TinyOS Logo

IDEs/CADs:

VSCode Logo Visual Studio Jetbrains Logo Kicad Logo Android Studio Logo Arduino Logo STM32CubeIDE Eclipse Logo Eagle Logo Fritzing Logo

Frameworks/Libraries:

ROS Logo OpenCV Logo PThreads Logo Pybind11 OpenMP Logo tinyusb

Web:

Postgres SQL Logo MySQL Logo Docker Logo Github Logo

PC:

Linux Logo Windows Logo VMWare Logo Virtualbox Logo

Protocols/Standards:

USB Protocol I2C Protocol SPI Protocol UART Protocol

P.S: I invite you to be my guest! Look around my public repos and do not hesitate to contact me if you find interesting one of them ;)


How to reach me:

LinkedIn-badge Facebook-badge Twitter-badge Instagram-badge Youtube-badge

fl's People

Contributors

chspyman avatar ckarageorgkaneen avatar cspyridakis avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

fl's Issues

Find out about compound data types & "type" declarations as specified in project pdf

Specifically, should code such as the following be taken into consideration
and parsed to C code accordingly ?

"
type
real_array: array of real;
string: array of char;
double_int_ptr_array: array of array of array[4] of integer;
var
x: real_array;
y: array of string;

function (a: double_int_ptr_array): array of array of real_array;
procedure(x, y: string; z: real_array);
"

return array of fixed len

How is one of the pdf examples: "function f3 (x: real): array [10] of real;" supposed to be parsed to C?

Token spacing issue

E.g.: "2mod3" yields:
token INTEGER: 2
Line: 1 token: 259 Text='2'
token IDENTIFIER: mod3
Line: 1 token: 258 Text='mod3'

Var necessary

SYNTAX ERROR

E.g.

 program hello;

@defmacro message "HelloWorld!\n"

 begin
   writeString(message) 
 end.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.