Giter VIP home page Giter VIP logo

mini-compiler-cs-mackenzie's Introduction

Hi, I'm Clauber 👋

I'm working with Software Engineering (Node.JS, JavaScript and AWS Tools) and Front-End Engineering (React.JS, CSS/Sass and Single-SPA)

I’m currently studying ReactJS, TypeScript and Python



Linkedin Badge Twitter Badge

mini-compiler-cs-mackenzie's People

Contributors

allangf avatar cstipkovic avatar fabioshimada avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

fabioshimada

mini-compiler-cs-mackenzie's Issues

Avaliação Léxica

A avaliação léxica está gerando saidas incorretas no arquivo de texto.

Automato estado q1

@cstipkovic o automato sai do estado q1 e vai para o estado 68 ficando em looping no estado caso hajam mais letras [A-z], porem não poderia fazer isso no estado q1?

Automato q93

@cstipkovic após entrar no estado q93 eu só posso sair se encontrar algo diferente de um * após /* ?
EX:
/**/ inválido
/* / válido
/x/ válido
/
x / válido
/1/ válido
/
1 */ válido

Segmentation Fault dentro da main na linha 724

Essa é a msg do debug dizendo que falta algum free no malloc que existe:

==44951== Memcheck, a memory error detector
==44951== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==44951== Using Valgrind-3.14.0.GIT and LibVEX; rerun with -h for copyright info
==44951== Command: ./main --leak-check=full
==44951==
==44951== Invalid read of size 1
==44951== at 0x1000AFD2C: strlen (in /usr/local/Cellar/valgrind/HEAD-26e21fe/lib/valgrind/vgpreload_memcheck-amd64-darwin.so)
==44951== by 0x10032BF2E: __strcat_chk (in /usr/lib/system/libsystem_c.dylib)
==44951== by 0x100002DC7: main (main.c:725)
==44951== Address 0x0 is not stack'd, malloc'd or (recently) free'd
==44951==
==44951==
==44951== Process terminating with default action of signal 11 (SIGSEGV)
==44951== Access not within mapped region at address 0x0
==44951== at 0x1000AFD2C: strlen (in /usr/local/Cellar/valgrind/HEAD-26e21fe/lib/valgrind/vgpreload_memcheck-amd64-darwin.so)
==44951== by 0x10032BF2E: __strcat_chk (in /usr/lib/system/libsystem_c.dylib)
==44951== by 0x100002DC7: main (main.c:725)
==44951== If you believe this happened as a result of a stack
==44951== overflow in your program's main thread (unlikely but
==44951== possible), you can try to increase the size of the
==44951== main thread stack using the --main-stacksize= flag.
==44951== The main thread stack size used in this run was 8388608.
==44951==
==44951== HEAP SUMMARY:
==44951== in use at exit: 18,270 bytes in 162 blocks
==44951== total heap usage: 184 allocs, 22 frees, 92,254 bytes allocated
==44951==
==44951== LEAK SUMMARY:
==44951== definitely lost: 408 bytes in 8 blocks
==44951== indirectly lost: 6,864 bytes in 7 blocks
==44951== possibly lost: 72 bytes in 3 blocks
==44951== still reachable: 32 bytes in 1 blocks
==44951== suppressed: 10,894 bytes in 143 blocks
==44951== Rerun with --leak-check=full to see details of leaked memory
==44951==
==44951== For counts of detected and suppressed errors, rerun with: -v
==44951== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 4 from 4)
Segmentation fault: 11

Alguem pode dar uma olhada, por favor?

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.