Giter Club home page Giter Club logo

lexicalanalyser's Introduction

LexicalAnalyser

๐Ÿ˜‹ A simple java lexical analyser.

I wrote this programme in November 2017:whale:. It was a assignment of one class. The professor offered us 2 choices in which this was the easier one. It was not really complicated, but it truly took me a while to think of what I had learned in the class and to apply that into coding. (Maybe I have missed lots of important informations about this lab...Next time I will listen more carefully I promise :dizzy_face:...) After I finished it, I thought maybe I should have try to write the hard one the Lex... It might be not that hard as I thought.

If you are a student whose class requires you to write such a programme, or a person who is learning the dragon book, maybe you should challenge yourself and try to finish a Lex. If you are one of these people and you are trying to write your own lexical programmes, my suggestion for you is that understand the dragon book deeply and code carefully.

Good luck!:ok_hand:

Instructions

  1. You can simply run the main.java and then you can get the analysed token sequences in the fie out.txt.
  2. You can also rewrite the input.txt to make your own java file and get the result analysed by the programme.

lexicalanalyser's People

Contributors

cccyf avatar

Watchers

 avatar

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.