answersLogoWhite

0


Best Answer

The lexical scanner is one of the good candidate to be shared among different compilers. The breakdown of tokens should be the same, or at least similar. However, the interpretation of those tokens will be different between languages. The storage of those tokens, stacks, or hash tables, can be the same as well (reusable component).

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Can two compilers from different language share components. how?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

C language is machine dependent?

Yes c is a complete machine dependent language as the memory allocated to its various variables having various data types is different. For example in some compilers the memory allocated to the char data type is 1 byte but in many compilers it may be 2 bytes also>>> thanks


Difference between HTML and assembly language?

HTML : Hypertext Markup Language is a scripting language used to write websites. Assembly language is a programming language (aka ASM). It uses memory registers like EAX, ECX to hold values and commands like JMP, ADD, MOV to alter those values. Assembly language is very close to machine language and very abstract to the untrained eye. In short, they are nothing a like, and share no similarities.


What percent of programmers use Java?

Hi there, according to Tiobie index Java is the number 1 language being used today with 17.110% share. Followed by C with 17.087% share. The Tiobie index data is sourced from the number of world-wide professionals, courses available and thirds party vendors. Plus search engine results. I recon it is a good indicator for programming language popularity.


What is pseudocode in c language how is it different from algorithm?

They are not similar. However one is used to write the other so the question is do you write 1) pseudo code with algorithm 2) an algorithm with pseudo code 3) with a pencil


How memory space is occupied by union variables in C programming language?

A union is an aggregate of members that share the same memory address. The size of a union is determined by the largest member.

Related questions

What values do all regions share?

So that they can have different s language


What is the 6 main parts of culture?

Each culture is different in various ways but they share some components that include some kind of beliefs and ideologies, social collectives, and language. Other components of culture are values, norms, and roles and statuses.


What is the word for people who share customs and language?

people who share customs and language


C language is machine dependent?

Yes c is a complete machine dependent language as the memory allocated to its various variables having various data types is different. For example in some compilers the memory allocated to the char data type is 1 byte but in many compilers it may be 2 bytes also>>> thanks


What language is a mix of different languages?

A pidgin language is a mix of different languages used for communication between groups who do not share a common language. A creole language can develop from a pidgin language when it becomes the native language for a community.


What is an example of information language?

An example of an information language is XML (Extensible Markup Language). XML is a markup language that is used to store and transport data in a structured format, making it easy for different systems to share and interpret information.


What do Austria and Switzerland share?

They share a border and the alps. The German language


Can language play a role as either unifying or devolutionary?

Yes, language can play a role in both unifying and causing division. Language can unify people by enabling communication and understanding among individuals who share the same language. However, the misuse or manipulation of language can also lead to misunderstanding, conflict, and division among groups who speak different languages or have different interpretations of the same language.


How is Canadian and American diffetrent states?

Canada and America are two different states with two different types of government. Yet, they both share similar cultural values and language.


How different is British sign language from American sign language?

British Sign Language (BSL) and American Sign Language (ASL) are distinct languages with different signs, grammar, and syntax. While they share some similarities due to historical connections, they are not mutually intelligible. It is similar to spoken English and spoken Spanish – while they are related languages, they are not the same.


Are hebrew and arabic the same language?

No, Hebrew and Arabic are different languages. Hebrew is a Semitic language primarily spoken by Jewish people, while Arabic is also a Semitic language spoken by Arab populations. They have distinct alphabets, grammar rules, and vocabulary.


What did the Austria and Hungary share?

They share a border and the alps. The German language